com.gisgraphy.service

## Interface IInternationalisationService

- All Known Implementing Classes:
    InternationalisationService

      public interface IInternationalisationService

  allow L10N and I18N
  Author:
    David Masclet

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Locale` | `getLocale()`
    `String` | `getString(String key)`
    `String` | `getString(String key, Object[] params)`
    `void` | `setLocale(Locale locale)` set the locale, if not return the default JVM one.

- - ### Method Detail

    - #### setLocale

          void setLocale(Locale locale)

      set the locale, if not return the default JVM one.
      Parameters:
        `locale` - the locale to set

    - #### getLocale

          Locale getLocale()

      Returns:
        the current locale

    - #### getString

          String getString(String key)

      Parameters:
        `key` - the key in the bundle
      Returns:
        the localized string or the key if not found

    - #### getString

          String getString(String key,
                         Object[] params)

      Parameters:
        `key` - the key in the bundle
        `params` - the param to inject in localised message
      Returns:
        the localized string or the key if not found

Copyright © 2015. All rights reserved.