• Resolved Ivan0070

    (@ivan0070)


    Hi, seems polylang don’t switch to the browser language. I tryed with Firefox, setting the language in English (or French) and visiting my site, but the language remain the Italian? I read some thread about it, have I to build a wpml-config.xml file? If yes it’s a bit complicated for me (I’m not an expert). Of course the flag to set the language in according of the browser in setting is on.
    Can anyone help me? The site is in development and is build with Divi of Elegantthemes and is here:
    https://www ivan.robustellini.com/nuovosito

    Thanks

    https://www.ads-software.com/plugins/polylang/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    I tested your site and saw no problems. Could you be more precise with which part stays in Italian?

    Thread Starter Ivan0070

    (@ivan0070)

    Wow, thank for you quick reply :-).
    Relly work? I’ve set the primary language of Firefox in French, clean the cache and cookies, refresh the page of my site but I see it always in Italian. I tryed to visit google, youtube and many other, they appear in the correct language, for istance in French. What’s wrong?

    Plugin Author Chouby

    (@chouby)

    Maybe I misunderstood your problem. It seems that you want the language to be detected from your browser preferences. There is an option to control this in Polylang settings.

    Thread Starter Ivan0070

    (@ivan0070)

    Yes I want that if someone in France browse my site see it in Francais, in England in English and so on. The option for the browser detection is flagged, but I see always the site in Italian. As I told you I set the language of Firefox in Francais, I see other site (youtube, google ecc..) in Francais but my site still in Italian.

    Plugin Author Chouby

    (@chouby)

    For me, your site works correctly. At first visit to your home page, I am redirected to the home page in the language setup in my browser preferences. At the second visit, I am redirected to the home page in my last browsed language.

    You need to delete your cookies to simulate a first visit. The redirection occurs only if you visit https://www.ivan.robustellini.com/nuovosito. All other pages are not redirected.
    The redirection is not based on the country but on the browser language preferences.

    Thread Starter Ivan0070

    (@ivan0070)

    Ok now work, after the deletion of cookie I have to close and reopen Firefox. Thanks for your help. Polylang is fantastic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Don't switch the browser language’ is closed to new replies.