Default Language
The installation-wide default language is set with the APP_DEFAULT_LOCALE environment variable. This determines the language users see if they haven’t chosen their own language preference.
Supported values
Section titled “Supported values”| Value | Language |
|---|---|
en | English |
et | Estonian |
uk | Ukrainian |
Configuration
Section titled “Configuration”Set APP_DEFAULT_LOCALE wherever you define your app’s environment variables.
Using docker-compose.yml
Section titled “Using docker-compose.yml”services: kordon-app: image: kordon-app:latest environment: APP_DEFAULT_LOCALE: etUsing a .env file
Section titled “Using a .env file”APP_DEFAULT_LOCALE=etFallback order
Section titled “Fallback order”For authenticated requests, Kordon resolves the language in this order:
X-Kordon-Localerequest header- User’s saved locale preference
APP_DEFAULT_LOCALE- Browser
Accept-Languageheader en
APP_DEFAULT_LOCALE sets the default for the whole installation, but any user who has chosen their own language in their profile will override it.
If APP_DEFAULT_LOCALE is missing or set to an unsupported value, Kordon falls back to en.