Open
Description
Current Behavior
Steps to reproduce the behavior
- Create a taxonomy term with the following text "España está en Europa".
- The slug will be "espa-na-est-a-en-europa".
Expected Behavior
- Create a taxonomy term with the following text "España".
- The slug will be "espana-esta-en-europa".
Possible Solution
As of now, the transliteration is using iconv
module, that converts the "ñ" to "~n". In fact it is converting special chars like á
to 'a
and thus, it converts '
to -
.
Using a php module like the ´intl` module, we can convert it avoiding the additional char.
intl
module is a module commonly available on Linux distributions.
Context and Notes
I can prepare a PR myself about this issue. I have already tested it on my local against the latest qa
branch.
Version used
AtoM 2.9.0 - 193
Operating System and version
Docker compose provided from github
Default installation culture
en, es, ca
PHP version
php 7.4
Activity