LanguageBundleInterface
interface LanguageBundleInterface implements ResourceBundleInterface
Gives access to language-related ICU data.
Methods
string[]
getLocales()
Returns the list of locales that this bundle supports.
string|null
getLanguageName(string $language, string|null $region = null, string $displayLocale = null)
Returns the name of a language.
string[]
getLanguageNames(string $displayLocale = null)
Returns the names of all known languages.
string|null
getScriptName(string $script, string $language = null, string $displayLocale = null)
Returns the name of a script.
string[]
getScriptNames(string $displayLocale = null)
Returns the names of all known scripts.