LocaleBundleInterface

LocaleBundleInterface

interface LocaleBundleInterface implements ResourceBundleInterface

Gives access to locale-related ICU data.

Methods

<
string[] getLocales()

Returns the list of locales that this bundle supports.

from ResourceBundleInterface
string|null getLocaleName(string $locale, string $displayLocale = null)

Returns the name of a locale.