Package com.enonic.xp.i18n

## Interface LocaleService

-     public interface LocaleService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `MessageBundle` | `getBundle​(ApplicationKey applicationKey, Locale locale)` |
    `MessageBundle` | `getBundle​(ApplicationKey applicationKey, Locale locale, String... bundleNames)` |
    `Set<Locale>` | `getLocales​(ApplicationKey applicationKey, String... bundleNames)` |
    `Locale` | `getSupportedLocale​(List<Locale> preferredLocales, ApplicationKey applicationKey, String... bundleNames)` |

- - ### Method Detail

    - #### getBundle

          MessageBundle getBundle​(ApplicationKey applicationKey,
                                  Locale locale)

    - #### getBundle

          MessageBundle getBundle​(ApplicationKey applicationKey,
                                  Locale locale,
                                  String... bundleNames)

    - #### getLocales

          Set<Locale> getLocales​(ApplicationKey applicationKey,
                                 String... bundleNames)

    - #### getSupportedLocale

          Locale getSupportedLocale​(List<Locale> preferredLocales,
                                    ApplicationKey applicationKey,
                                    String... bundleNames)