Skip to content

Translations

Luca Weiss edited this page Nov 3, 2017 · 9 revisions

Creating a new translation

Run the following command in your terminal:

lupdate -verbose $(find src/ -name "*.cpp") -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!).

Editing a translation

Use Qt Linguist to open the .ts file you want to edit.

A full manual is available on doc.qt.io.

Clone this wiki locally