Skip to content

How to update translations

Alexandre Avenel edited this page May 9, 2013 · 2 revisions

Install pybabel

sudo apt-get install python-babel

Extract messages from the code :

cd budget
pybabel extract -o messages.pot -F babel.cfg .
pybabel update -i messages.pot -d translations/ -l fr

Edit messages.po to update translation. Finally, compile with pybabel :

pybabel compile -d translations/ -f --statistics