Class LanguageHelper
java.lang.Object
io.goobi.viewer.model.translations.language.LanguageHelper
LanguageHelper class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateLanguage
(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> languageConfig) getLanguage
(String inIsoCode) Gets the language data for the given iso-code 639-1 or 639-2B
-
Constructor Details
-
LanguageHelper
Constructor for LanguageHelper.
- Parameters:
configFilePath
- aString
object.
-
-
Method Details
-
getAllLanguages
-
getMajorLanguages
-
getLanguage
Gets the language data for the given iso-code 639-1 or 639-2B -
createLanguage
public Language createLanguage(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> languageConfig) - Parameters:
languageConfig
-- Returns:
- Created
Language
-