##// END OF EJS Templates
refreshed how_to on translations
marcink -
r1225:357b0c18 beta
parent child Browse files
Show More
@@ -1,15 +1,28 b''
1 #goto pylons folder app (the on holding .ini files)
1 ##########################
2 # to create new language #
3 ##########################
2
4
3 # to create new
5 #this needs to be done on source codes, preferable default/stable branches
6
4 python setup.py extract_messages -> get messages from project
7 python setup.py extract_messages -> get messages from project
5 python setup.py init_catalog -l pl -> create a language directory
8 python setup.py init_catalog -l pl -> create a language directory for <pl> lang
6 edit the new po file with poedit
9 edit the new po file with poedit or any other editor
7 python setup.py compile_catalog -> create translation files
10 python setup.py compile_catalog -> create translation files
8 #done
11
9
12 #############
10 # to update
13 # to update #
14 #############
15
11 python setup.py extract_messages -> get messages from project
16 python setup.py extract_messages -> get messages from project
12 python setup.py update_catalog -> to update the translations
17 python setup.py update_catalog -> to update the translations
13 edit the new updated po file with poedit
18 edit the new updated po file with poedit
14 python setup.py compile_catalog -> create translation files
19 python setup.py compile_catalog -> create translation files
15 #done No newline at end of file
20
21
22 ###################
23 # change language #
24 ###################
25
26 `lang=en`
27
28 in the .ini file No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now