LanguageBundleInterface::getLanguageNames()

string[] getLanguageNames(string $displayLocale = null)

Returns the names of all known languages.

Parameters

string $displayLocale Optional. The locale to return the names in Defaults to {@link \Locale::getDefault()}.

Return Value

string[] A list of language names indexed by language codes
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.