Better slug transliterator for Silverstripe with accent folding
Slug generator with accent folding for Silverstripe CMS
This module will provide better text to slug translation for silverstripe by replacing very basic transliterator with cocur/slugify module:
composer require dariuszp/silverstripe-betterslug // or if you have .phar package ./composer.phar require dariuszp/silverstripe-betterslug
When you create page with title like this:
Î¤Î¬ÏÏÎµÏ Î±ÏÎ¿Î¼Î¹ÎºÎÏ Î¼Îµ Î³ÎÎ¼Î¹ÏÎ· ÏÎ¿ÏÏÎ¿ÎºÎ±Î»ÎÎ½Î¹Î±Ï ÎºÏÎÎ¼Î±Ï ÎºÎ±Î¹ Î³Î»Ï ÎºÏ ÏÎ¿ÏÏÎ¿ÎºÎ¬Î»Î¹
It will be translated to:
Istead of page-41 like before.
In case some characters are not handled, you can further configure module by add your own translation rules. For example:
BetterSlug: rulesets: symbols: active: true map: â: ubrella â: cloud
This will turn:
When you see dark â, bring an â!
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem