Interface LanguageService

All Known Implementing Classes:
LanguageServiceImpl

public interface LanguageService
The Class LanguageService.
  • Method Details

    • getAvailableLanguages

      List<Language> getAvailableLanguages()
      Gets the available languages, which are at least partly translated
      Returns:
      the available languages
    • isSupported

      boolean isSupported(String langParam, String country)
      true if a language is supported. This method is faster than getAvailableLanguages().contains(en)
      Parameters:
      langParam - the language parameter
      country - the country that is associated with the locale
      Returns:
      true to indicate it is supported.
    • isCompleted

      boolean isCompleted(String langParam)
      Parameters:
      langParam - the language parameter
      Returns:
      true if the language has bee completed