Skip to content

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.

ValueLanguage
enEnglish
etEstonian
ukUkrainian

Set APP_DEFAULT_LOCALE wherever you define your app’s environment variables.

services:
kordon-app:
image: kordon-app:latest
environment:
APP_DEFAULT_LOCALE: et
Terminal window
APP_DEFAULT_LOCALE=et

For authenticated requests, Kordon resolves the language in this order:

  1. X-Kordon-Locale request header
  2. User’s saved locale preference
  3. APP_DEFAULT_LOCALE
  4. Browser Accept-Language header
  5. 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.