I assumed using zest.pocompile and typing pocompile in the directory of /en/LC_MESSAGES/django.po would make the .mo but it seems not to work. Is there a way of changing the strings contained within this file and compiling just this file without compiling everything?
There is a handy app called "rosetta" - you can just install it and then you should be able to edit the .po files.
Also - the files are plain text - editable in any text editor.
To compile:
cd askbot
python ../manage.py compilemessages
And to rebuild the file:
cd askbot
python ../manage.py jinja2_makemessages -l en -e html,py,txt
Please note that the compilation command is different from django standard because askbot uses jinja2 templates (they are faster and more flexible).
Asked: Feb 23 '11
Seen: 185 times
Last updated: Feb 23 '11
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.