$kirby->setCurrentLanguage()
Load and set the current language if it exists Otherwise fall back to the default language
Parameters
Name | Type | Default |
---|---|---|
$languageCode | string |
null |
Return type
Kirby\Cms\Language
|null