annotate pylons_app/i18n/how_to @ 133:919b5bcd8630
Changed creation of repository to vcs implementation,
added cache invalidate just after repo creation for repo switch list
author |
Marcin Kuzminski <marcin@python-works.com> |
date |
Sun, 09 May 2010 13:08:16 +0200 |
parents |
564e40829f80 |
children |
|
rev |
line source |
0
|
1 #goto pylons folder app (the on holding .ini files)
|
|
2
|
|
3 # to create new
|
|
4 python setup.py extract_messages -> get messages from project
|
|
5 python setup.py init_catalog -l pl -> create a language directory
|
|
6 edit the new po file with poedit
|
|
7 python setup.py compile_catalog -> create translation files
|
|
8 #done
|
|
9
|
|
10 # to update
|
|
11 python setup.py extract_messages -> get messages from project
|
|
12 python setup.py update_catalog -> to update the translations
|
|
13 edit the new updated po file with poedit
|
|
14 python setup.py compile_catalog -> create translation files
|
|
15 #done |