$kirby->setCurrentLanguage()
Load and set the current language if it exists Otherwise fall back to the default language
$kirby->setCurrentLanguage(string|null $languageCode = null): Kirby\Cms\Language|nullParameters
| Name | Type | Default | 
|---|---|---|
| $languageCode | stringornull | null | 
Return types
Kirby\Cms\Languageornull
This method modifies the existing $app object it is applied to and returns it again.