view pylons_app/i18n/how_to @ 512:d945c95ba4ac

refactoring for new vcs implementation renamed all ._short and .raw_id into .short_id updated dependency for vcs to 0.1.6
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 28 Sep 2010 20:25:58 +0000
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