By default, if we use cyrillic in the names of entries, the slug is also created in сyrillic. This is not good. And here we need transliteration such as б → b, д → d, etc.
By the way, if we create for example a new section in сyrillic, the handle, Entry URI Format and Template is created almost correctly, the exception is the characters 'Ь' and 'Ъ' - they are replaced by a space.
Ok, in general.php add
'limitAutoSlugsToAscii' => true
to replace characters according to ASCII character mapping. Now slug in entries should be created correctly, but again a new problem with the characters 'Ь' and 'Ъ', they are not converted.
in general.php add
'customAsciiCharMappings' => [
' ' => ['ь', 'Ь', 'ъ', 'Ъ'],
],
and we get the same result as when creating a new section - space.
Tried this variant:
'customAsciiCharMappings' => [
'' => ['ь', 'Ь', 'ъ', 'Ъ'],
],
does not work
In the correct convertation there should be no spaces or replacement, 'Ь' and 'Ъ' should be removed (Мальчик → malchik). How to remove these spaces?