Documentation ¶
Overview ¶
Package translit replaces characters in a string using a huge conversion table.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Runes ¶
Runes replaces characters in a string using a conversion table, e.g. ™ => tm; © => c; @ => at; € => euro Magento compatible
func URL ¶
URL same as Runes() but removes after conversion any non 0-9A-Za-z characters and replaces them with a dash. Magento compatible. This function is responsible for the slug generation for product/category/cms URLs.
func URLUnicode ¶
URLUnicode takes care of unicode characters. @todo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.