ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Make transliteration optional

Open husseinalhammad opened this issue 1 year ago • 0 comments

Current behaviour

Slug field type

The slug fieldtype transliterates the value by default regardless if it is generated from another field or manually entered.

Routing

It seems routing rules generated by Statmic (based on collection's settings) only match the transliterated values.

For example, if my collection's Route field value is /تجربة/{my_custom_slug} and an entry within this collection has /تجربة/{my_custom_slug} as the value of my_custom_slug, Statamic routing only matches the transiletrated path /tgrb/grbny and not /تجربة/جربني.

Request

Make slug fieldtype and routing transliteration optional (enabled by default to avoid introducing a breaking change). This is currently a major blocker for some projects.

husseinalhammad avatar Apr 21 '24 11:04 husseinalhammad