diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-12-06 20:08:07 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-12-06 20:08:07 +0100 |
commit | 07512ee824c5d453cf32b7cb0fea83973f40dd0c (patch) | |
tree | 32a31bf743e3629386eae8cb723bac13a4ccc400 /doc/administration | |
parent | acce7c38d3833b59c4eb2e99dbe7f0393b6a9cbd (diff) | |
download | fietsboek-07512ee824c5d453cf32b7cb0fea83973f40dd0c.tar.gz fietsboek-07512ee824c5d453cf32b7cb0fea83973f40dd0c.tar.bz2 fietsboek-07512ee824c5d453cf32b7cb0fea83973f40dd0c.zip |
add language packs to configuration docs
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/configuration.rst | 12 |
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 ----------------- |