diff --git a/apply/settings.py b/apply/settings.py index 4bd13ff..f7615f4 100644 --- a/apply/settings.py +++ b/apply/settings.py @@ -46,6 +46,10 @@ POST_SUBMISSION_SLEEP_MS: int = get_int_env("POST_SUBMISSION_SLEEP_MS", "0") # --- Service ----------------------------------------------------------------- INTERNAL_API_KEY: str = get_env_or_fail("INTERNAL_API_KEY") +# --- Translations ------------------------------------------------------------ +# Key into translations.toml (e.g. "de", "en"). Used by language.get_text. +LANGUAGE: str = getenv("LANGUAGE", "de") + def log_settings() -> None: logger.debug("--- Settings ---")