Update docs
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 6 Jul 2008 21:52:24 +0000 (23:52 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 6 Jul 2008 21:52:24 +0000 (23:52 +0200)
INSTALL
i18n/README.Translations

diff --git a/INSTALL b/INSTALL
index e6c74be..a473938 100644 (file)
--- 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.
 
 -DWANT_(CORE|QTCLIENT|MONO)=(ON|OFF)
     Allow to choose which Quassel binaries to build.
 
+-DLINGUAS="<languages">
+    Allow to choose which languages should be compiled into the binary.
+    <languages> 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.
 -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.
index e4d36dc..1a65654 100644 (file)
@@ -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).
 
 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="<languages>"
+to your cmake call, where <languages> 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.