In order to create or update a translatable file, run the following command
-in the directory i18n/:
+in the directory po/:
./update.sh xx
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="<languages>"
-to your cmake call, where <languages> 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 (requires ``Translate Toolkit´´):
+lupdate ../src -ts quassel.ts && ts2po -P --duplicates=msgctxt -i quassel.ts -o quassel.pot && rm quassel.ts