• Resolved jaqu

    (@jaqu)


    We have set up a multilingual site at eskoworld.com with the help of qTranslateX. This goes well in all browsers, but there seems to be a major issue in Firefox.

    If you go to the homepage, the page immediately redirects to the Turkish page (/tr). And even a bit more weird, if you choose the english language on http://www.eskoworld.com/emea, you always will be redirected to the Spanish pages. It’s like the english version can’t be accessed on Firefox.

    Can you check if this is an issue? Maybe this is just a glitch internally here because we visit the site so much, but we want to make sure.

    Kr,
    Jan

    https://ww.wp.xz.cn/plugins/qtranslate-x/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Gunu

    (@grafcom)

    @jaqu

    where is the language selector?

    what is your default language?

    Thread Starter jaqu

    (@jaqu)

    On the homepage http://www.eskoworld.com there isn’t a language switcher (should be standard english) and on http://www.eskoworld.com/emea/ it’s on the top right.

    English should be our default language.

    Plugin Author Gunu

    (@grafcom)

    when I visit the homepage I get yoursite.com/tr/

    Settings – Languages – General Settings
    Check Default Language / Order English on top and active ?
    Detect the language of the browser and redirect accordingly. Unchecked?

    Advanced Settings
    Use Pre-Path Mode (Default, puts /en/ in front of URL). SEO friendly. Checked?
    Hide URL language information for default language. Checked?

    On yoursite.com/emea/ Link with EskoworldLogo.png is this part of the menu?

    Thread Starter jaqu

    (@jaqu)

    The only setting that was not the same as your post was the last one (Hide URL language information for default language wasn’t checked).

    I changed this, cleared the cache, but it doesn’t make a difference here, I’m afraid.

    Plugin Author Gunu

    (@grafcom)

    he only setting that was not the same as your post was the last one (Hide URL language information for default language wasn’t checked).

    I see something strange now, pleas uncheck Hide URL I assume that you have turned this on now ?

    Thread Starter jaqu

    (@jaqu)

    This was turned on, yes. I have now unchecked it again :-).

    Plugin Author Gunu

    (@grafcom)

    what plugins and theme you use?

    Plugin Author Gunu

    (@grafcom)

    it is now changed…

    removed cookies and now I get yoursite.com/en/

    on yoursite.com/en/emea/prague/ I can switch languages also back to English and pages seem correct.

    Only the logo takes me back to yoursite.com/en/ as well as reading in another language

    Thread Starter jaqu

    (@jaqu)

    Hmm, it seems allright now indeed. I did delete my cookies a few times, but not with this right options, I think, thanks.

    Is there a possiblity that our customers are not obliged to remove their cookies? Or is this an issue outside the qTranslateX-plugin?

    Plugin Author Gunu

    (@grafcom)

    Is there a possiblity that our customers are not obliged to remove their cookies?

    If they have chosen a language it will also appear in that language unless they first go to the homepage then cookie is set again to EN and they must again choose their language at the other pages.

    I do not understand why the homepage switches to English.

    How does your .htaccess file look?

    Thread Starter jaqu

    (@jaqu)

    This is our .htaccess-file

    php_value max_input_vars 5000
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Plugin Author Gunu

    (@grafcom)

    This seems correct.

    The logo to the homepage has not the appropriate reference with the language prefix.

    Is this the basis of the theme or manually set?

    Thread Starter jaqu

    (@jaqu)

    Ok, thanks. I have set this manually to

    <?php echo get_option('home'); ?>

    I presume I should change this to

    <?php echo esc_url( home_url( '/' ) ); ?>

    to get this working again?

    Plugin Author Gunu

    (@grafcom)

    try it 🙂

    Thread Starter jaqu

    (@jaqu)

    Works like a charm :-).

    Thanks for the quick support and keep up the good work, great plugin!

    Kr,
    Jan

Viewing 15 replies - 1 through 15 (of 19 total)

The topic ‘Language switch problem Firefox’ is closed to new replies.