Hi,
Is there an way to change the behaviour url_titles are created? Non English characters are simply stripped from the title - is there an easy way to make some sort of replacement e.g. from ü to ue or ö to oe?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
January 26, 2011 10:44am
Subscribe [2]#1 / Jan 26, 2011 10:44am
Hi,
Is there an way to change the behaviour url_titles are created? Non English characters are simply stripped from the title - is there an easy way to make some sort of replacement e.g. from ü to ue or ö to oe?
#2 / Jan 26, 2011 11:11am
As I understand it, the file system/expressionengine/config/foreign_chars.php should hold the translation table for conversion from the title to the url_title.
On my installation the non English characters simply get removed and not replaced.
Is this an bug, or am I missunderstanding something?
—
EE 2.1.3 build 20101220
#3 / Jan 27, 2011 2:13am
timoteus,
Non English characters are simply stripped from the title - is there an easy way to make some sort of replacement e.g. from ü to ue or ö to oe?
This is what does happen. I have just tested in my local install and it works fine.
Is yours a fresh install or and upgrade from a different version or build?
Do you have any add-ons running?
Are you using a language pack or the default English?
#4 / Jan 27, 2011 3:43am
Thanks John,
you are right, thats how it should work - and so I started to look for the source of the bug in my installation… and found it.
It was an extention that used the foreign_character_conversion_array hook to modify some CP javascript and by the way returned an empty array afterwords…
So thanks for your feedback!
#5 / Jan 27, 2011 3:45am
Glad you found the source. Feel free to start anew thread if you have any more questions.