Locale

Locale

class Locale extends Locale

Provides access to locale-related data.

Methods

static setDefaultFallback(string $locale)

Sets the default fallback locale.

static string getDefaultFallback()

Returns the default fallback locale.

static string|null getFallback(string $locale)

Returns the fallback locale for a given locale.

Details

static setDefaultFallback(string $locale)

Sets the default fallback l