The pathauto update from 1.2 to 1.3 changed the way the language is handled in pathauto_cleanstring(). Now it always tries to pass the language parameter to the transliteration_get() function (if enabled). Prior to 1.3, no parameter was passed and transliteration took the current language.
While this seems to work well for nodes (as they always have a language), I does not work well for taxonomy terms, as by default they use LANGUAGE_NONE, except you're using i18n/entity translation for translating taxonomy terms.
Passing LANGUAGE_NONE to transliteration_get() is not a good idea, as then it misses all language specific transformations (e.g. "ö" to "oe" in German). I suggest that in this case we should still pass NULL / the current language, which solves the issue for single-language sites.
Comment | File | Size | Author |
---|---|---|---|
pathauto_transliteration_language_none_fix.patch | 827 bytes | mh86 | |
Issue fork pathauto-2665370
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
zarenik CreditAttribution: zarenik commentedHad the same issue. Working.
Comment #3
apadernoComment #4
klausiLooks good, thanks!