aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0875eae..ad7f5b0 100644
--- a/README.md
+++ b/README.md
@@ -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):