Skip to content

Language specific slug rules

Since 3.2.0

Kirby's slug generator has language specific rules that improve the quality of created slugs in the Panel drastically. If you have certain preferences, you can define your own rules for each language in the language files:

/site/languages/de.php
<?php

return [
  'code' => 'de',
  'default' => false,
  'direction' => 'ltr',
  'locale' => 'de_DE',
  'name' => 'Deutsch',
  'slug' => [
    'ß' => 'sz' 
  ]
];