I'm running a swedish site with pathauto enabled and rather than removing the frequently used swedish characters å, ä and ö and make my auto generated pathes less readable I'd like to replace å & ä with a and ö with o. But to my understanding there is now feature to replace a character with another character!

ps. I mistakenly e-mailed greggles before finding this issue page. Sorry about that!

Comments

greggles’s picture

Category: feature » support
Status: Active » Fixed

Hello tuti - thanks for submitting the issue (emailing is not great, as you know).

If you read the INSTALL.txt I believe you will find the fix that you need. If that doesn't make sense then please respond back here.

Anonymous’s picture

Status: Fixed » Closed (fixed)
Prof. Dr. YoMan’s picture

Version: 5.x-2.x-dev » 5.x-1.1
Status: Closed (fixed) » Active

It seems to work partially for me.

If i test it with some german characters: "ä ö ü ß Ä Ö Ü Test" pathauto generates "a-o-u-ss-a-o-ue-test".

As you see some work, some dont.

I checked the i18n-ascii.txt with OpenOffice (loaded in UTF-8 mode).
The "translations" for the chars not working "ä ö ü Ä Ö" is listed there, as the "translations" working "ß Ü".

Why doesnt it work? How do i get it to work?

Prof. Dr. YoMan’s picture

Status: Active » Fixed

Fixed for myself.

How:
pathauto uses the last entry that matches.

Last entry for e.g. "ä" was listed in the finisch section and converts to "a" although above "ä" converts to "ae".

Deleted the finisch section and all works fine.

greggles’s picture

Good to know that you resolved this.

This issue has also been detailed at http://drupal.org/node/111110 and http://drupal.org/node/147475

Note that in Pathauto 5.x-2 I removed the sections.

Anonymous’s picture

Status: Fixed » Closed (fixed)