OfficialLanguages
A class providing information about all official ISO 639-2 languages.
Data is generated from "Build/Scripts/updateIsoDatabase.php" (which in turn stems from https://github.com/sokil/php-isocodes-db-i18n)
Table of Contents
Constants
- LABEL_FILE = 'EXT:core/Resources/Private/Language/Iso/languages.xlf'
Methods
- getLabelIdentifier() : string
- isValidLanguageKey() : bool
Constants
LABEL_FILE
protected
mixed
LABEL_FILE
= 'EXT:core/Resources/Private/Language/Iso/languages.xlf'
Methods
getLabelIdentifier()
public
getLabelIdentifier(string $languageKey) : string
Parameters
- $languageKey : string
Return values
stringisValidLanguageKey()
public
isValidLanguageKey(string $languageKey) : bool
Parameters
- $languageKey : string