We’re working on a multilingual site with German and English translations. When using the slug
field method or Str::slug
in a snippet, umlaut rules are flipped.
Input
Büro für Gestaltung
Output
German: → buro-fur-gestaltung
English: → buero-fuer-gestaltung
Expected
German: → buero-fuer-gestaltung
English: → buro-fur-gestaltung
Interestingly, when I output the current language in the same snippet, Kirby returns the correct language settings, e. g. for German:
Kirby\Cms\Language Object
(
[code] => de
[default] => 1
[direction] => ltr
[locale] => Array
(
[0] => de_DE.uft-8
)
[name] => Deutsch
[rules] => Array
(
[Ä] => AE
[Ö] => OE
[Ü] => UE
[ß] => ss
[ä] => ae
[ö] => oe
[ü] => ue
)
)
This is happening on Kirby 3.4.4.
Anyone ever experienced anything similar?