Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: foreign characters when switching between languages

  1. #1
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default foreign characters when switching between languages

    Hi,

    This thread was posted by a user with German set as his default language:

    Code:
    http://www.xxxxxxxxxx.com/forum/de/f31/hj-messer-böcker-4824/
    All good. When I switch the forum to English using the flag and then hover over that link in 'What's New?' I see:

    Code:
    http://www.xxxxxxxxxxx.com/forum/f31/hj-messer-böcker-4824/
    Great - until I click on the link. When the page opens I see the following in the browser address bar:

    Code:
    http://www.xxxxxxxxxxxx.com/forum/f31/hj-messer-b%C3%B6cker-4824/
    I need German words containing special characters (ö,ä etc) to stay as they are because people searching for my content will use German words in the search string regardless of the language they themselves speak.

    What can I do to prevent this foreign character problem chaps? Or am I missing something really obvious? Wouldn't be the first time since I started using Vbet

    Just for info: in Vbseo I have the following set:

    'Replace Non-English Characters in URLs? - no'

    'Define your custom character replacements
    'ü' => 'ue'
    'ä' => 'ae'
    'ö' => 'oe'
    'ß' => 'ss'
    'Ü' => 'Ue'
    'Ä' => 'Ae'
    'Ö' => 'Oe''

    Thanks
    Last edited by norku; 06-04-11 at 22:58.

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    please check this solution:
    http://www.vbenterprisetranslator.co....html#post7566
    you should declare this redirection ONLY for GERMAN letters!
    polish letters (and of course another languages too) it works good so make this replacement only for german letters.

  3. #3
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Hi Kamil,

    I haven't changed anything since we last worked on this. I amended my post above to show how vbseo is currently set for foreign characters. The only thing I've done recently is to update Vbulletin with the security patch.

  4. #4
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Just testing this. The problem appears to be caused by place names, names - basically terms which Google would not translate.

    The following link is as it appears to a German user:

    Code:
    http://www.xxxxxxxxx.com/forum/de/f80/fuß-mütze-ätzend-düren-björn-4827/
    click on the English flag and the same link looks like this:

    Code:
    http://www.xxxxxxxxxxx.com/forum/f80/foot-hat-corrosive-d%FCren-bj%F6rn-4827/
    Vbseo character replacement doesn't appear to handle any language other than the forum default when vbet is installed.
    Last edited by norku; 06-04-11 at 23:02.

  5. #5
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    hello,

    Ok i can reproduce it, so I will solve it on my test forum.

    As I see the problem is only with words which are untranslatable (names etc. like Düren and Björn)

    Confirmed and will be solved!

  6. #6
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Thanks Kamil

  7. #7
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Any progress on this one Kamil?

  8. #8
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    hello,
    still working on it. thanks for your patience.
    We will write here all solution
    thanks

  9. #9
    Senior Member
    Join Date
    Feb 2011
    Posts
    138

    Default

    Cool. Thanks Kamil.

  10. #10
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Hello. I just started working on it and after some analyze I realized that there is no bug at all... I will still check possibility of changing the behavior, now here is explanation what happens:
    - your translated pages are in UTF-8 so browsers shows special characters from URL in nice way (excluding IE which do not honor this standard)
    - your original pages are not un UTF-8 so browser do not display special characters in nice way and vBET do not changes URLs for not translated pages

    I will check how it will behave if vBET re-encode URL even for not translated page - I cannot predict it because page encoding and URL encoding will differ. If it will help I will give you quick fix and probably will not include it in official release (or configurable - need to check first results and think about possible effects). If it will not help it will stay as it is because it is browser display issue (just like IE do not shows special characters in nice way at all - maybe newest does it didn't check it).

    I will give you feedback in few moments.
    Last edited by vBET; 04-05-11 at 13:25.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •