author | Andrey Skvortsov <andrej.skvortzov@gmail.com> |
Mon, 07 Aug 2017 14:28:29 +0300 | |
changeset 1722 | 89824afffef2 |
parent 1714 | 64ea7c86a74c |
permissions | -rw-r--r-- |
361 | 1 |
To generate message.pot file: |
2 |
||
3 |
python mki18n.py -p --domain=Beremiz |
|
1714
64ea7c86a74c
add to i18n/README forgotten commands to add some XML schemes as source
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
814
diff
changeset
|
4 |
|
361 | 5 |
To generate .mo files for all languages: |
6 |
||
7 |
python mki18n.py -m --moTarget=../locale --domain=Beremiz |
|
734 | 8 |
|
9 |
||
10 |
To generate app.fil: |
|
11 |
||
814 | 12 |
find .. -name "*.py" -exec grep -q '_(' {} ';' -print -o -name "*XSD*" -print -o -name "*.csv" -print | grep -v '/build/' | grep -v '/pyjs/' > app.fil |
1714
64ea7c86a74c
add to i18n/README forgotten commands to add some XML schemes as source
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
814
diff
changeset
|
13 |
echo "../plcopen/Additional_Function_Blocks.xml" >> app.fil |
64ea7c86a74c
add to i18n/README forgotten commands to add some XML schemes as source
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
814
diff
changeset
|
14 |
echo "../plcopen/Standard_Function_Blocks.xml" >> app.fil |