Skip to content

Kirby 4.2.0

Locale::set()

Sets the PHP locale with a locale string or an array with constant or string keys

Locale::set(array|string $locale): void

Parameters

Name Type Default
$locale * array|string

Parent class

Kirby\Toolkit\Locale