diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-12-10 16:49:18 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-12-10 16:49:18 +0100 |
commit | c86100cd0ca4bf74597be4f4d34eaceae748aba5 (patch) | |
tree | 0450be27fdd4ad6fd81e716508c66e76d384c97c /doc/administration/configuration.rst | |
parent | 0130f540ffefac371910a05cf52f30ac3bf06b5b (diff) | |
parent | 07512ee824c5d453cf32b7cb0fea83973f40dd0c (diff) | |
download | fietsboek-c86100cd0ca4bf74597be4f4d34eaceae748aba5.tar.gz fietsboek-c86100cd0ca4bf74597be4f4d34eaceae748aba5.tar.bz2 fietsboek-c86100cd0ca4bf74597be4f4d34eaceae748aba5.zip |
Merge branch 'external-languages'
Diffstat (limited to 'doc/administration/configuration.rst')
-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 ----------------- |