view pylons_app/i18n/how_to @ 148:d928d5f0a251

Adde raw file to routes, and refactoring updated link to raw file at file source template
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 11 May 2010 22:23:16 +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