Skip to content

Kirby 4.1.2

languages

Enables language definitions via the Panel

Enable multi-lang feature in the Panel

To allow users to define and switch languages from the Panel, you have to enable the feature:

return [
    'languages' => true
];

Automatic language detection

Kirby can detect the preferred language of the visitor. This has to be enabled in your config:

/site/config/config.php
return [
    'languages' => [
        'detect' => true
  ]
]

Using the root URL for the default language will disable automatic language detection.

Since 4.0.0

Disable language variable editing in Panel

By default, users can add and edit language variables via the Panel. To prevent this, you can disable this feature:

/site/config/config.php
return [
    'languages' => [
        'variables' => false
    ]
]

To disable the feature based on user role, use this config setting within the ready config option