diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -78,6 +78,24 @@ public search index by default: # output will include a localhost URL to open + +## Translations + +Update the .pot file and translation files: + + pybabel extract -F extra/i18n/babel.cfg -o extra/i18n/web_interface.pot fatcat_covid19/ + pybabel update -i extra/i18n/web_interface.pot -d fatcat_covid19/translations + +Compile translated messages together: + + pybabel compile -d fatcat_covid19/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_covid19/translations -l de + + ## Acknowledgements For content and bibliographic metadata (partial list): |