From 07512ee824c5d453cf32b7cb0fea83973f40dd0c Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 6 Dec 2022 20:08:07 +0100 Subject: add language packs to configuration docs --- doc/administration/configuration.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') 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 ----------------- -- cgit v1.2.3