X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=po%2FREADME.Translations;h=91a6185197869e624a4e027c9243cc79dddbd84a;hp=be8cb785e6519d0a890a3b740b88a016efb06950;hb=e052c6532456d818b804ce726c8a6e66c81ad8a0;hpb=2573fe442275287321d828d88a5fb8d743952388 diff --git a/po/README.Translations b/po/README.Translations index be8cb785..91a61851 100644 --- a/po/README.Translations +++ b/po/README.Translations @@ -17,11 +17,16 @@ NOTE: Remember to remove X-Virgin-Header line if you want to preserve your heade Qt itself does not use the *.po files, but a compact binary format (*.qm). These files will automatically be generated at build time. By default, all -languages will be built. To select languages, add -DLINGUAS="" -to your cmake call, where is a space-separated list of language -codes as explained above. +languages will be built. To select languages, use environment variable LINGUAS +to specify superset of languages you want to build in. As you can see in +example there we will build only Czech German and French translations. +EXAMPLE: +$ export LINGUAS="cs de fr" +$ cmake /path/to/source NOTE: You'll need lconvert installed with your Qt in order to generate translation files. Some distributions don't package that tool; in that case you won't get translations. +Regenerating .pot file: +lupdate ../src -ts quassel.ts && lconvert -i quassel.ts -o quassel.po && rm quassel.ts && mv quassel.po quassel.pot