[go: up one dir, main page]

Menu

[r138]: / Translation_README.txt  Maximize  Restore  History

Download this file

27 lines (22 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
How to add a new translation
=============================
To add a new translation :
Method 1
--------
- download the project from https://sourceforge.net/p/lastar/code/HEAD/tree/LASTAR/
- pick-up an existing translation file e.g. translations/LASTAR_fr.ts
- Change the language in line 3 <TS version="2.1" language="fr_FR"> and rename it LASTAR_xx.ts where xx is the language code,
- Replace all text in <translation> tags or use "linguist translations\LASTAR_xx.ts"
- Add the file in the TRANSLATIONS variable of LASTAR.pro,
- Generate the .qm using lrelease LASTAR.pro
- Then copy the generated tranlations/LASTAR_xx.qm to the subdirectory "translations" of your LASTAR installation path to test
Method 2
--------
- use lconvert to generate a .po from an existing .qm e.g. translations/LASTAR_fr.qm
- use Poedit to fill translations
- convert it in .qm and .ts with lconvert
- Then copy the generated tranlations/LASTAR_xx.qm to the subdirectory "translations" of your LASTAR installation path to test
At last
-------
- Translate the Eq presets file https://sourceforge.net/p/lastar/code/HEAD/tree/LASTAR/AutoEqCatalog.json by adding the appropriate language tag
- Please send me the AutoEqCatalog.json, the .ts and the .qm in a zip file at arthelion@free.fr so I can add them to the official distribution