OSDN Git Service

First commit
[minimpy2/mp2.git] / locales / READ.ME
1 Instruction to translate into another languages
2
3 1 - Find your language code. Each language has a code consists of language code and contry code. Example: en_US for US English and fr_CA for Canadian French
4 2 - Copy 'locale_sources.ts' file and rename copied file into the language code. Example fr_CA.ts
5 3 - Open this file with Qt Linguist application (https://www.qt.io/download-qt-installer)
6 4 - In edit menu click 'Translation file settings...' and set the target language settings
7 5 - Translate all phrases using the application and save the changes
8 6 - From File menu select 'Release As...' option and save the compiled language file into 'locales' folder. The compiled language file will have qm extension.
9 7 - Open 'languages.lst' file in 'locales' folder and add and entry for your language at the end of the file. Example: fr_CA:French. Inplace of language name (French in this example) you may use the locale name (Française)
10 8 - Copy and translate the file 'minimisation_en_US.txt' and renamee it minimisation_<lang_code>.txt. In place of lang_code please use you language code. For example minimisation_fr_CA.txt
11 9 - That's it. Now you can change the MinimPy2 application language by clicking 'Config' button in the toolbar and selecting your language from the list.