• Resolved freddyeee

    (@freddyeee)


    Hi

    my website is in by default in Spanish, but translated to English. The option of automatic language detection is enable.

    when someone from the US see my website,they see it in Spanish, When it loads they get a popup to choose a language however, basically, it loads in Spanish. It should load directly in English, I think, right ?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    THe auto detection feature is a pro one and this topic should be treated outside of WP.org forum. You can contact us directly on our website: https://translatepress.com/support/.

    However, to add more clarity on this, we do not provide anymore automatic language changes without asking the user through the pop-up suggestion. That’s because we had issues in the past when utilizing this method.
    Basically, blocking Google from indexing your site properly because of the redirect. According to their guidelines, we shouldn’t be doing javascript redirects anyway.
    The only option is to suggest the language to your use through the pop-up option, as soon as there is no automatic redirection that way. Also, the user will know you offer the website in multiple languages if you display the language switcher on your website.

    How the pop-up works:
    We save the desired language in the cookie. Let’s take an example. User1 (with browser language set to Spanish) access your site https://example.com/en/ (additional language).
    The pop-up appears because we detected a different browser language of the user, and we recommend changing it to Spanish. If the user refuses to change it, so it will close the pop-up, and the language preference, English, will be saved into a cookie. Next time the visitor will access https://example.com/en/, the pop-up will not be shown.
    But, if you access, for example, https://example.com/de/ (another additional language), the pop-up will be shown again because we detect a different language from the one saved before into the cookie, and again, we need to display the pop-up and let the user if it wants to keep navigating in German (in this case the cookie will be replaced with this new language if the new language will be chosen) or, if it wants to change the language to the saved one, which is English in this example (because this one was saved earlier).

    Best Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.