X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=i18n%2FREADME.Translations;h=e4d36dcdc4a42dba33032ee30db4395403c37b3c;hp=4076cbdf88466d2c70270c23696c0e95a96961ec;hb=6623fd2d46dadd0168e4e28d1db6944c26c2a773;hpb=4a02d8850e15370b905ab07339bdc04478738607 diff --git a/i18n/README.Translations b/i18n/README.Translations index 4076cbdf..e4d36dcd 100644 --- a/i18n/README.Translations +++ b/i18n/README.Translations @@ -1,5 +1,3 @@ -NOTE: Translations are not yet used in Quassel, but will be soon! - In order to create or update a translatable file, run the following command in the directory i18n/: @@ -13,7 +11,15 @@ system locale. Examples for valid file names: quassel_de.ts quassel_en_US.ts -You can open these files with the Qt Linguist and add/edit translated strings. +You can open these XML files with the Qt Linguist and add/edit translated strings. 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 + +lrelease *.ts + +In addition, new languages need to be added to i18n/i18n.qrc, since we are using Qt's +resource system for loading the translations.