##// END OF EJS Templates
added format check command into i18n how_to
marcink -
r2577:4857ed50 beta
parent child Browse files
Show More
@@ -4,25 +4,27 b''
4 4
5 5 #this needs to be done on source codes, preferable default/stable branches
6 6
7 python setup.py extract_messages -> get messages from project
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
10 python setup.py compile_catalog -> create translation files
7 python setup.py extract_messages <- get messages from project
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
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 14 # to update #
14 15 #############
15 16
16 python setup.py extract_messages -> get messages from project
17 python setup.py update_catalog -> to update the translations
18 edit the new updated po file with poedit
19 python setup.py compile_catalog -> create translation files
17 python setup.py extract_messages <- get messages from project
18 python setup.py update_catalog <- to update the translations
19 #edit the new updated po file with poedit
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 25 # change language #
24 26 ###################
25 27
26 `lang=en`
28 `lang=pl`
27 29
28 30 in the .ini file No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now