view rhodecode/i18n/how_to @ 892:9adc0c1d9a87 beta

Added optional cache into get_application settings
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 29 Dec 2010 12:18:49 +0100
parents 1e757ac98988
children 357b0c18f844
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