Package org.silverpeas.core.i18n
Interface I18n
-
- All Known Implementing Classes:
I18NHelper
public interface I18n
This interface defines all the i18n related stuff as it is configured in Silverpeas: the default language, all the languages supported in the current Silverpeas, and so on.- Author:
- mmoquillon
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static I18n
get()
Gets an instance ofI18n
.String
getDefaultLanguage()
Gets the default language of the platform when no one is explicitly specified.Set<String>
getSupportedLanguages()
Gets the languages that are supported by the platform and from which users can choose their preferred one.
-
-
-
Method Detail
-
getDefaultLanguage
String getDefaultLanguage()
Gets the default language of the platform when no one is explicitly specified.- Returns:
- the ISO 639-1 code of the default language.
-
-