-
Notifications
You must be signed in to change notification settings - Fork 35
Translations
Luca Weiss edited this page Jul 10, 2018
·
9 revisions
Run the following command in your terminal:
lupdate -verbose $(find src/ -name "*.cpp" -or -name "*.h") -ts data/translations/$LANG.ts
$LANG
should always be "a lowercase, two-letter, ISO 639 language code"!
Then add the file to data/meson.build
and data/CMakeLists.txt
in the corresponding arrays/lists (marked with # add new languages here!
).
Use Qt Linguist to open the .ts
file you want to edit.
A full manual is available on doc.qt.io.
meson build
cd build/
meson configure -Dprefix=$PWD -Ddatadir=
ninja
mkdir -p razergenie/translations/
ln -sf ../../data/de.qm razergenie/translations/
env LANG=de ./src/razergenie