Interface I18nResolver

All Known Implementing Classes:
JiraI18nResolver

public interface I18nResolver
Converts i18n keys to their translated text.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a translated string for the given key, or the key if no translations can be found.
    getText(String key, Serializable... params)
    Returns a translated string for the given key and params, or the key if no translations can be found.
  • Method Details

    • getText

      String getText(String key)
      Returns a translated string for the given key, or the key if no translations can be found.
      Parameters:
      key - The key of the translation.
      Returns:
      Translated text
    • getText

      String getText(String key, Serializable... params)
      Returns a translated string for the given key and params, or the key if no translations can be found.
      Parameters:
      key - The key of the translation.
      params - Additional parameters to use in the translation.
      Returns:
      Translated text