2008-08-13 10:01:39 +00:00
|
|
|
How to create a new translation for the Qt build:
|
2008-03-05 00:35:39 +00:00
|
|
|
|
|
|
|
For Windows:
|
|
|
|
|
|
|
|
- Add "TRANSLATIONS += path/to/language.ts" to vba-m.pro
|
|
|
|
|
|
|
|
- Execute the "update.cmd" script to create .ts files
|
|
|
|
|
|
|
|
- Edit & translate the .ts file with the "Qt Linguist" tool
|
|
|
|
|
|
|
|
- Execute the "release.cmd" script to compile it to a .qm file
|
|
|
|
|
|
|
|
- The .qm file can now be loaded & used by the application
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For Linux:
|
|
|
|
|
|
|
|
- Add "TRANSLATIONS += path/to/language.ts" to vba-m.pro
|
|
|
|
|
|
|
|
- Type lrelease vba-m.pro
|
|
|
|
|
|
|
|
- Edit & translate the .ts file with the "Qt Linguist" tool
|
|
|
|
|
|
|
|
- In Qt Linguist, go to File -> release as. This will compile it into a .qm file
|
|
|
|
|
|
|
|
- The .qm file can now be loaded & used by the application
|