From: Manuel Nickschas Date: Sun, 6 Jul 2008 21:52:24 +0000 (+0200) Subject: Update docs X-Git-Tag: 0.3.0~304 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=6ba41968fc3198563127c1b5d5e18bc94ebe73a0 Update docs --- diff --git a/INSTALL b/INSTALL index e6c74bef..a4739382 100644 --- a/INSTALL +++ b/INSTALL @@ -40,6 +40,11 @@ Quassel recognizes the following options: -DWANT_(CORE|QTCLIENT|MONO)=(ON|OFF) Allow to choose which Quassel binaries to build. +-DLINGUAS=" + Allow to choose which languages should be compiled into the binary. + is a space-separated list of language codes. + Example: -DLINGUAS="de en_US" + -DQT=/path/to/qt Use a non-system Qt installation. This is for example useful if you have a static Qt installed in some local dir. diff --git a/i18n/README.Translations b/i18n/README.Translations index e4d36dcd..1a65654f 100644 --- a/i18n/README.Translations +++ b/i18n/README.Translations @@ -16,10 +16,13 @@ You can open these XML files with the Qt Linguist and add/edit translated string The *.ts files can and should be kept in sync with the source code by running lupdate regularly (existing translations won't be removed). -Qt itself does not use the *.ts files, but a compact binary format (*.qm). In order -to create these files from new or updated *.ts files, run +Qt itself does not use the *.ts 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. -lrelease *.ts +NOTE: You'll need lrelease 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. -In addition, new languages need to be added to i18n/i18n.qrc, since we are using Qt's -resource system for loading the translations.