Class TranslationProvider

java.lang.Object
hu.rts.mike.example.dev.crm.i18n.TranslationProvider
All Implemented Interfaces:
com.vaadin.flow.i18n.I18NProvider, Serializable

@Component public class TranslationProvider extends Object implements com.vaadin.flow.i18n.I18NProvider
See Also:
  • Field Details

  • Constructor Details

    • TranslationProvider

      public TranslationProvider()
  • Method Details

    • getProvidedLocales

      public List<Locale> getProvidedLocales()
      Specified by:
      getProvidedLocales in interface com.vaadin.flow.i18n.I18NProvider
    • getTranslation

      public String getTranslation(String key, Locale locale, Object... params)
      Specified by:
      getTranslation in interface com.vaadin.flow.i18n.I18NProvider