Package org.keycloak.locale
Interface LocaleSelectorProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
DefaultLocaleSelectorProvider
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveLocale
(RealmModel realm, UserModel user) Resolve the locale which should be used for the requestdefault Locale
resolveLocale
(RealmModel realm, UserModel user, Theme.Type themeType)
-
Field Details
-
KC_LOCALE_PARAM
- See Also:
-
CLIENT_REQUEST_LOCALE
- See Also:
-
USER_REQUEST_LOCALE
- See Also:
-
-
Method Details
-
resolveLocale
Resolve the locale which should be used for the request- Parameters:
user
-- Returns:
-
resolveLocale
-