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 | 7 | 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 | |
|
8 | python setup.py init_catalog -l pl -> create a language directory for <pl> lang | |
|
9 | edit the new po file with poedit or any other editor | |
|
7 | 10 | python setup.py compile_catalog -> create translation files |
|
8 | #done | |
|
9 | ||
|
10 |
|
|
|
11 | ||
|
12 | ############# | |
|
13 | # to update # | |
|
14 | ############# | |
|
15 | ||
|
11 | 16 | python setup.py extract_messages -> get messages from project |
|
12 | 17 | python setup.py update_catalog -> to update the translations |
|
13 | 18 | edit the new updated po file with poedit |
|
14 | 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