2008-02-09 21:42:17 +00:00
|
|
|
How to create a new translation:
|
|
|
|
|
2008-02-10 14:06:52 +00:00
|
|
|
For Windows:
|
|
|
|
|
|
|
|
- Add "TRANSLATIONS += path/to/language.ts" to vba-m.pro
|
|
|
|
|
|
|
|
- Execute the "update.cmd" script to create .ts files
|
|
|
|
|
2008-02-09 21:42:17 +00:00
|
|
|
- Edit & translate the .ts file with the "Qt Linguist" tool
|
2008-02-10 14:06:52 +00:00
|
|
|
|
|
|
|
- Execute the "release.cmd" script to compile it to a .qm file
|
|
|
|
|
|
|
|
- The .qm file can now be loaded & used by the application
|
2008-02-10 23:09:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|