OrchardCore
OrchardCore copied to clipboard
Slugify and diacritics
As I noticed, using slugify in recipes is quite often but there is one problem with it. Current implementation for sake of simplicity removes all diacritics from given string, but In many languages we whould like to transform them to other characters. For example in Polish: 'ę' -> 'e', 'ś' -> 's' etc. In CMS's often articles titles are slugify to form url but without proper mapped diacritics those urls looks odd. Basically it would be nice to have something simillar to: Diacritics.NET. Such code/service could be part of localisation module I guess.