org.keycloak.locale

## Interface LocaleSelectorProvider

- All Superinterfaces:
    Provider
  All Known Implementing Classes:
    DefaultLocaleSelectorProvider

      public interface LocaleSelectorProvider
      extends Provider

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `CLIENT_REQUEST_LOCALE`
    `static String` | `KC_LOCALE_PARAM`
    `static String` | `LOCALE_COOKIE`
    `static String` | `USER_REQUEST_LOCALE`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Locale` | `resolveLocale(RealmModel realm, UserModel user)` Resolve the locale which should be used for the request

    - ### Methods inherited from interface org.keycloak.provider.Provider

      `close`

- - ### Field Detail

    - #### LOCALE_COOKIE

          static final String LOCALE_COOKIE

      See Also:
        Constant Field Values

    - #### KC_LOCALE_PARAM

          static final String KC_LOCALE_PARAM

      See Also:
        Constant Field Values

    - #### CLIENT_REQUEST_LOCALE

          static final String CLIENT_REQUEST_LOCALE

      See Also:
        Constant Field Values

    - #### USER_REQUEST_LOCALE

          static final String USER_REQUEST_LOCALE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### resolveLocale

          Locale resolveLocale(RealmModel realm,
                               UserModel user)

      Resolve the locale which should be used for the request
      Parameters:
        `user` -
      Returns:

Copyright © 2020 JBoss by Red Hat. All rights reserved.