ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

non English characters in url_title

January 26, 2011 10:44am

Subscribe [2]
  • #1 / Jan 26, 2011 10:44am

    timoteus

    25 posts

    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

    timoteus

    25 posts

    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

    John Henry Donovan

    12339 posts

    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

    timoteus

    25 posts

    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

    John Henry Donovan

    12339 posts

    Glad you found the source. Feel free to start anew thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases