view pylons_app/i18n/how_to @ 506:d5efb83590ef

fixed lock decorator bug which didn't release the lock after func execution and rewrote the pidlock a little with Ask Solem suggestions! added tredning languages stats
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 27 Sep 2010 02:17:03 +0200
parents 564e40829f80
children
line wrap: on
line source

#goto pylons folder app (the on holding .ini files)

# to create new 
python setup.py extract_messages -> get messages from project
python setup.py init_catalog -l pl -> create a language directory
edit the new po file with poedit
python setup.py compile_catalog -> create translation files
#done 
 
 # to update
python setup.py extract_messages -> get messages from project
python setup.py update_catalog -> to update the translations
edit the new updated po file with poedit
python setup.py compile_catalog -> create translation files
#done