Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 765 Bytes

_locale_precedence.mdx

File metadata and controls

13 lines (10 loc) · 765 Bytes

import InlineField from 'src/components/InlineField.astro'; import Aside from 'src/components/Aside.astro';

  1. The locale request parameter if present on the HTTP request. This is useful if you already know the user's preferred locale prior to redirecting them to FusionAuth to complete authentication. See example below.

    locale=fr

  2. The user selects a language during login using the locale selector or there is a fusionauth.locale cookie present
  3. The HTTP Accept-Language header if present on the HTTP request
  4. The system default locale as determined by the underlying operating system
The user's preferredLanguages settings are not used to select a locale for the hosted login pages.