Show More
@@ -4,25 +4,27 b'' | |||||
4 |
|
4 | |||
5 | #this needs to be done on source codes, preferable default/stable branches |
|
5 | #this needs to be done on source codes, preferable default/stable branches | |
6 |
|
6 | |||
7 |
python setup.py extract_messages - |
|
7 | python setup.py extract_messages <- get messages from project | |
8 |
python setup.py init_catalog -l pl - |
|
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 |
|
9 | #edit the new po file with poedit or any other editor | |
10 | python setup.py compile_catalog -> create translation files |
|
10 | msgfmt -f -c <updated_file.po> <- check format and errors | |
|
11 | python setup.py compile_catalog <- create translation files | |||
11 |
|
12 | |||
12 | ############# |
|
13 | ############# | |
13 | # to update # |
|
14 | # to update # | |
14 | ############# |
|
15 | ############# | |
15 |
|
16 | |||
16 |
python setup.py extract_messages - |
|
17 | python setup.py extract_messages <- get messages from project | |
17 |
python setup.py update_catalog - |
|
18 | python setup.py update_catalog <- to update the translations | |
18 | edit the new updated po file with poedit |
|
19 | #edit the new updated po file with poedit | |
19 | python setup.py compile_catalog -> create translation files |
|
20 | msgfmt -f -c <updated_file.po> <- check format and errors | |
|
21 | python setup.py compile_catalog <- create translation files | |||
20 |
|
22 | |||
21 |
|
23 | |||
22 | ################### |
|
24 | ################### | |
23 | # change language # |
|
25 | # change language # | |
24 | ################### |
|
26 | ################### | |
25 |
|
27 | |||
26 |
`lang= |
|
28 | `lang=pl` | |
27 |
|
29 | |||
28 | in the .ini file No newline at end of file |
|
30 | in the .ini file |
General Comments 0
You need to be logged in to leave comments.
Login now