forked from CGM_Public/pretix_original
i18n: add config for enabling a set of languages
Adds the `enabled` setting to the `[languages]` table in the pretix.cfg. If left empty, or omitted all languages are enabled.
This commit is contained in:
committed by
Raphael Michel
parent
a43625c5e8
commit
18df9d66bb
@@ -311,7 +311,13 @@ is configured, memcached will be used for caching instead of redis.
|
||||
Translations
|
||||
------------
|
||||
|
||||
pretix comes with a number of translations. Some of them are marked as "incubating", which means
|
||||
pretix comes with a number of translations. All languages are enabled by default. If you want to limit
|
||||
the languages available in your installation, you can enable a set of languages like this::
|
||||
|
||||
[languages]
|
||||
enabled=en,de
|
||||
|
||||
Some of the languages them are marked as "incubating", which means
|
||||
they can usually only be selected in development mode. If you want to use them nevertheless, you
|
||||
can activate them like this::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user