Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Updating Translations

amoskvin edited this page Dec 27, 2012 · 2 revisions

Translations for Razor-qt are updated periodically and put into the git repository, but they are not always up-to-date. This page describes how to retrieve them in order to build Razor with the latest translations.

Register an account at Transifex

In order to fetch translations, you need an account: https://www.transifex.com/signup/

Install the "tx" client

Most likely, your distribution has the package called "transifex-client":

fedora# yum install transifex-client
debian# apt-get install transifex-client
gentoo# emerge transifex-client

If not, see here.

Create ~/.transifexrc

Create the following file and save it in your home directory:

[https://www.transifex.com]
hostname = https://www.transifex.com
username = user123
password = pass321
token = 

Fill in your own Transifex user name and password.

Check out Razor-qt

For 0.5.x branch (into "razor-qt-0.5.x" directory):

$ git clone -b 0.5.x git://github.com/Razor-qt/razor-qt.git razor-qt-0.5.x

For master:

$ git clone git://github.com/Razor-qt/razor-qt.git

Retrieve the translations

To update a specific language, use:

$ tx pull -f -l la_NG

(Replace "la_NG" with the code for the language you want)

Note: the -f switch is required otherwise some translations might be missing. See: https://github.com/transifex/transifex-client/issues/22

If you would like to update all languages, run:

$ tx pull -a -f

Warning: Pulling all the translations can take over 30 minutes.

Build Razor-qt

Build Razor-qt as usual.