Navigation

We manage our translations in a Transifex project. If you want to
change a translation you can go to the project page, choose your
language and click on the resource “Adhocracy”. You will get a menu
where you can download the .po file to edit it on your computer with
an application like poedit (“Download for use”). After you
translated the file you can go to the menu and upload the file. From
the menu you can also use the transifex online editor (Button: “✔
Translate now”)

CAUTION:: If you’re using the adhocracy.buildout (highly
recommended) you need to use the --distribute option to
bootstrap.py to work with the preconfigured babel commands.
This document assumes that you installed the buildout in a virtualenv
“adhocracy”.

Install the transifex client on your system. Then add your
username and password for transifex.net to ~/.transifexrc:

INFO:: The prefered way to edit .po files is to use an
application like poedit. It will highlight untranslated messages
and messages that were created with fuzzy matching and will
automatically update or remove markers like ,fuzzy and update
the header of the .po file.

Push the translation to transifex:

(adhocracy)/src/adhocracy$ tx push -l <language>

Pull the translation back:

(adhocracy)/src/adhocracy$ tx pull -l <language>

Compile the catalogs with compile_catalog:

(adhocracy)/src/adhocracy$ ../../bin/adhocpy setup.py compile_catalog

This will also show you errors in the .po files and statistics
about the translation.

..and compare them. A good tool to compare is podiff from the Python
GetText Translation Toolkit (which you can install from source of
from their ubuntu ppa). It contains several other tools to work with
po-files. You might have to give the -r (relax) option to podiff.