Interface LocalizedFieldMapper

All Superinterfaces:
LocalizedFieldNamingStrategy
All Known Implementing Classes:
DefaultLocalizedFieldMapper

@Deprecated public interface LocalizedFieldMapper extends LocalizedFieldNamingStrategy
Deprecated.
Use the methods provided by EntityModel
How to use: either inject as spring bean, or get from EntityModel.getLocalizedFieldMapper().
  • Method Details

    • getLocales

      String[] getLocales()
      Deprecated.
      Returns the system-configured languages as 2-letter iso codes in lower case.
      Returns:
      Defensive copy, contains at least one entry.
    • getNiceDefaultLanguage

      String getNiceDefaultLanguage()
      Deprecated.
      Returns the system-configured default language, is also present in getNiceLanguages().
      Returns:
      2-letter iso code in lower case, eg "fr".