view pylons_app/i18n/how_to @ 195:7109d15c6813

cleared prints leftoovers, and changed current user fetching in login controller
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 22 May 2010 16:07:28 +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