add language_code as env var

This commit is contained in:
Cayo Puigdefabregas 2024-03-19 11:04:39 +01:00
parent 46cd29f931
commit 1cce4639d8

View file

@ -197,7 +197,7 @@ LOCALE_PATHS = [
]
# LANGUAGE_CODE="en"
# LANGUAGE_CODE="es"
LANGUAGE_CODE="ca"
LANGUAGE_CODE = config('LANGUAGE_CODE', "ca")
gettext = lambda s: s
LANGUAGES = (
('de', gettext('German')),