Skip to content

Kirby 4.5.0

I18n::locale()

Returns the current locale code

I18n::locale(): string

Return type

string

Parent class

Kirby\Toolkit\I18n