$kirby->languageCode()
Returns the current language code
$kirby->languageCode(string|null $languageCode = null): string|null
Parameters
| Name | Type | Default |
|---|---|---|
| $languageCode | stringornull |
null
|
Return types
stringornull
This method modifies the existing $app object it is applied to and returns it again.