summaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.rst
diff options
context:
space:
mode:
authorDashie <dashie@sigpipe.me>2019-09-10 08:28:44 +0200
committerDashie <dashie@sigpipe.me>2019-09-14 09:02:08 +0200
commit6606dc9b051d7fbc19626c5b2cbd378c7758bb40 (patch)
treeea7ba0f3b3a8e95851e744f969594b2a68f4564b /CONTRIBUTING.rst
parent86a45211394d215bd6ffc4c451b72694fbbcdd11 (diff)
more cleanup
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r--CONTRIBUTING.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index fc245046..0603bb9b 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -362,6 +362,26 @@ Various notes
- Authlib revoke token wants basic auth, no idea what to give, so it doesn't works
- Authlib does handle optional bearer auth, uses: @require_oauth(optional=True)
+Translations notes
+^^^^^^^^^^^^^^^^^^
+
+While there is still some in the backend, and that is going to change.
+
+Parse translation strings::
+
+ pybabel extract -F babel.cfg -k gettext -o messages.pot .
+
+create document::
+
+ pybabel init -i messages.pot -d translations -l de
+
+update document::
+
+ pybabel update -i messages.pot -d translations
+
+compile documents::
+
+ pybabel compile -d translations
Contributing to the front-end
-----------------------------