Interface LanguageService
- All Known Implementing Classes:
LanguageServiceImpl
public interface LanguageService
The Class LanguageService.
-
Method Summary
Modifier and TypeMethodDescriptionGets the available languages, which are at least partly translatedboolean
isCompleted
(String langParam) boolean
isSupported
(String langParam, String country) true if a language is supported.
-
Method Details
-
getAvailableLanguages
Gets the available languages, which are at least partly translated- Returns:
- the available languages
-
isSupported
true if a language is supported. This method is faster than getAvailableLanguages().contains(en)- Parameters:
langParam
- the language parametercountry
- the country that is associated with the locale- Returns:
- true to indicate it is supported.
-
isCompleted
- Parameters:
langParam
- the language parameter- Returns:
- true if the language has bee completed
-