First of all, I want to thank you for creating Craft. It's really one of the best content management systems I have ever worked with.

I encountered an issue while working on a multilingual site: German Umlauts are not automatically transliterated (Ä -> Ae) for slugs. In other parts of Craft (e.g. field handles) Umlauts are transliterated automatically.

Personally, I would prefer if this behavior could be controlled by a config variable (e.g. slugExpandUmlauts).


Try enabling the config setting limitAutoSlugsToAscii, that should do what you want.

  • This works great when entering titles in the frontend, but how can I enable it on the backend? (I want to import contents from a legacy CMS via a plugin.) Sep 22 '14 at 16:33
  • How are you doing the import? Sep 22 '14 at 19:16
  • Based on craftimport I created a custom input plugin where I create and save the entries. Sep 23 '14 at 11:57
  • I'm not sure if there is any such option serverside, but maybe you can just recreate the functionality. Check line 9311 in craft.js, the function Craft.SlugGenerator. It does basic replaces, and you can probably convert the rules easily, copying the existing regex. Sep 24 '14 at 7:38
  • Thank you, Fred. It's actually pretty straightforward. Craft uses a simple character map (craft.js - line 25) - I didn't know that. Sep 24 '14 at 18:38

If it´s a one-time operation, maybe you could just import everything and search/replace in MySQL?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.