Skip to content

How to update translations

aavenel edited this page Apr 7, 2013 · 2 revisions

Install pybabel

sudo apt-get install python-babel

Extract messages from the code :

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

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

pybabel compile -d translations/ -f --statistics
Clone this wiki locally