Skip to content

Translating

zetok edited this page Feb 11, 2015 · 38 revisions

To make new translation, or update/correct one, you will need Qt Linguist and lupdate tools.

##On *nix ###If you're just updating: run

touch translations/$LANGUAGE  ## don't forget to substitute $LANGUAGE
lupdate -pro qtox.pro -ts translations/$LANGUAGE.ts ## don't forget to substitute $LANGUAGE
## if you're adding new language you have to:
lupdate -pro qtox.pro -ts translations/$LANGUAGE.ts -target-language ln_NW   # substitute $LANGUAGE and 'ln_NW'

Open updated .ts file in Linguist, translate it, save, commit changes and send pull request.

###If you're adding new translation(s): Files to edit:

translations/i18n.pri
res.qrc

In both of those files search for translations and add your language. Then proceed with steps for updating translation.

Clone this wiki locally