X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=i18n%2FREADME.Translations;h=1a65654f17a5e49ad7704a3c2641aac84e1aa79d;hp=e4d36dcdc4a42dba33032ee30db4395403c37b3c;hb=6ba41968fc3198563127c1b5d5e18bc94ebe73a0;hpb=a16fb65bcdedc7972a4e680b9d7806006a71af47 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.