$language->router()
Returns the LanguageRouter instance which is used to handle language specific routes.
$language->router(): Kirby\Cms\LanguageRouter
Return type
This method modifies the existing $language
object it is applied to and returns it again.