diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/i18n/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/i18n/README.md b/extra/i18n/README.md new file mode 100644 index 0000000..00fa377 --- /dev/null +++ b/extra/i18n/README.md @@ -0,0 +1,16 @@ + +## HOWTO: Translations + +Update the .pot file and translation files: + + pybabel extract -F extra/i18n/babel.cfg -o extra/i18n/web_interface.pot fatcat_scholar/ + pybabel update -i extra/i18n/web_interface.pot -d fatcat_scholar/translations + +Compile translated messages together: + + pybabel compile -d fatcat_scholar/translations + +Create initial .po file for a new language translation (then run the above +update/compile after doing initial translations): + + pybabel init -i extra/i18n/web_interface.pot -d fatcat_scholar/translations -l de |