aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-12-06 20:08:07 +0100
committerDaniel Schadt <kingdread@gmx.de>2022-12-06 20:08:07 +0100
commit07512ee824c5d453cf32b7cb0fea83973f40dd0c (patch)
tree32a31bf743e3629386eae8cb723bac13a4ccc400
parentacce7c38d3833b59c4eb2e99dbe7f0393b6a9cbd (diff)
downloadfietsboek-07512ee824c5d453cf32b7cb0fea83973f40dd0c.tar.gz
fietsboek-07512ee824c5d453cf32b7cb0fea83973f40dd0c.tar.bz2
fietsboek-07512ee824c5d453cf32b7cb0fea83973f40dd0c.zip
add language packs to configuration docs
-rw-r--r--doc/administration/configuration.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/administration/configuration.rst b/doc/administration/configuration.rst
index 379c683..5f0e3d4 100644
--- a/doc/administration/configuration.rst
+++ b/doc/administration/configuration.rst
@@ -72,6 +72,18 @@ Currently, Fietsboek ships with English ("en") and German ("de"). Removing a
language from this list will make it unavailable. If you create a custom
language locally, make sure to add it to this list here!
+Fietsboek also allows you to install "language packs", providing languages from
+third-party sources. Language packs are normal Python packages that must be
+installed via the package manager (e.g. by using ``pip`` in the same
+environment that you installed Fietsboek in), and then their names can be
+listed as ``fietsboek.language_packs`` in the configuration. Note that you must
+still add the locales to ``available_locales`` for them to work.
+
+.. warning::
+
+ Since language packs are just Python packages, they can contain and execute
+ arbitrary code. Do not install untrusted language packs.
+
Database Settings
-----------------