• Hi,

    I don’t want to make a lot of translation on the web for have the es_ES and es_AR, i just want to specify like if someone speak english en_US, en_GB, en_CA, ecc.. just go to en_US. The same for es, its possible to add on the Region something like en* or like “en_US,en_GB,en_CA” with comas?

    I just figure out about this, cause i do the translation on en_US then if someone come from Canada the Polylang don’t detect the language and pu the Spanish version.. then if someone from Colombia enter it don’t detect..

    There are any solution?
    I read something like this:
    “* fix: the browser language detection does not differentiate ‘en_US’ and ‘en_GB'”
    But i want to dont differentiate between en_US and en_GB its just “en” for me

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter marcoskrop

    (@marcoskrop)

    Hi, anyone can help me? I think it’s something very good to implement..

    Plugin Author Chouby

    (@chouby)

    Hello,

    Polylang doesn’t detect countries but languages ( defined in the browser preferences ) when you activate the relavant option.

    It works only at first visit on the homepage.

    If a visitor has en_CA in his preferences and you have en_US as English on your site, then he will be redirected to en_US. It’s automatic.

    Thread Starter marcoskrop

    (@marcoskrop)

    Chouby,

    First thanks for the reply.

    I want to ask this, so i will give you an example:
    I make the translation (I have some pages, portfolio, blog a lot of posts) on Spanish so i put es_ES , but if someone from Argentina enter he will have the es_AR (and he put the Chrome lenguage to that) so Polylang will check the default Languaje and if i put en_US like default he will see the webpage on English entering from Argentina and have the webpage on spanish.

    The same will happen if i put the Spanish like default, if someone from en_UK enter and i have the webpage on en_US he will see the webpage on Spanish.

    There is a way to check only the first part? Like if you speak spanish i only care about the first part the “es” so if you come from Argentina, Colombia and you have the language on your explorer like (es_AR, es_CO, etc) the system only check the first part so you will recive the Spanish web.

    I think it will be awesome to do that.
    Thanks.

    • This reply was modified 7 years, 1 month ago by marcoskrop.
    Thread Starter marcoskrop

    (@marcoskrop)

    Hi Chouby,

    You understand my point? I dont know if i explained good.. if you have any question just let me know.

    I think it’s very important what im asking cuz you have a lot of difference Spanish or English lenguage version around the world, but most of us we just make one translation like 90% of the cases, it’s pretty strange that an owner of a website make the Spanish version for Colombia, Spanish version for Spain, Spanish version for Argentina, spanish version for Chile.. they are practically the same, so on those 90% of the cases the system shouldn’t care about if you are using on your Google Chrome es_AR or es_ES or es_CO or whatever.. it should recognize that you use es and enough.

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Don’t difference between es_ES, es_AR or en_US and en_GB’ is closed to new replies.