LanguageBundle::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
2016-10-28 06:22:15
Comments
Leave a Comment

Please login to continue.