I often use characters which are stripped by urlify (eg Romanian ã,â,î or German umlauts ü, ö, ä ).
I'd find it very, very, very useful to have a way to set an automatically translation of these characters to (ordinary) others (eg ã = a, â = a, î = i or ü = ue, ö = oe, ä = ae) rather than simply stripped.

Comments

canen’s picture

GigiContra,

Is the path url-encoded when it is displayed in address field? I don't use any other language that English as you may have guessed. I am looking into this to see easy it would be to achieve. Will update on the progress here.

DVV’s picture

I'm sorry, I'm not sure I understand your question.

In the subject line of a new node I write a title like: "München".

Through urlify I got in the URL path "Mnchen" (so the "ü" was deleted). I'd like to be possible to automatically translate "ü" to "ue" so when I write "München" to get "Muenchen", not "Mnchen".

Tnx

canen’s picture

Ah, I see. I was thinking about something else. Do you have a link to where I can find the replacements for each language?

DVV’s picture

I don't know for other languages but for Romanian and German they are:

ü = ue
ö = oe
ä = ae
ß = ss

ã = a
â = a
î = i
º = s
þ = t

anyway I think it will be pretty obvious for any 'urlify' user to add his own 'translation' preferences directly into the code.

Thank you for your help. If you will add such a 'translation' feature it'll be a real timesaver for us, the non-english users of urlify.

canen’s picture

GentleArsonist,

Better late than never ;) Recently updated the module. Check the latest development snapshot to see if this works for you.

canen’s picture

Status: Active » Closed (fixed)