com.isomorphic.util

## Interface LocaleMessageProvider

-     public interface LocaleMessageProvider

  Interface to implement by custom i18n messages providers. Use `LocaleMessageProviderRegistry` to register custom providers.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getMessage(java.lang.String key, java.util.Locale locale, java.lang.String preText, java.lang.String postText, LocaleMessageSourceEnum source, java.lang.String sourceFilename)` Will be called by framework when evaluating i18n message (<fmt> tag).

- - ### Method Detail

    - #### getMessage

          java.lang.String getMessage(java.lang.String key,
                                      java.util.Locale locale,
                                      java.lang.String preText,
                                      java.lang.String postText,
                                      LocaleMessageSourceEnum source,
                                      java.lang.String sourceFilename)

      Will be called by framework when evaluating i18n message (<fmt> tag).
      Parameters:
        `key` - i18n message key
        `locale` - i18n message locale
        `preText` - any text before <fmt> tag inside parent XML element
        `postText` - any text after <fmt> tag inside parent XML element
        `source` - source where <fmt> tag was met, see `LocaleMessageSourceEnum` for possible values.
        `sourceFilename` - source filename if source is a file
      Returns:
        i18n message text