Jump to content

Auto change language by ip address


ashkansharifi

Recommended Posts

Hi Everyone,

 

I am back using Prestashop after few years of idle.

 

I am using Prestashop 1.7.0.2. I have two languages. How can I set the second language to be default language for only one country using geo location?

 

 

I hope there would be a free module or at least few code lines I could copy paste.

 

Your help would be appreciated :-)

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

language settings in prestashop 1.7 are a pain. Even if you have set a specific language to as preferred language to an employee the backend will use browser language detection. If you set a preferred language as default language in prestashop you will receive a mix of browser language, IP address language and preferred language at the best.

Link to comment
Share on other sites

Does this mean that Prestashop 1.7 detects user language atomically by turning on GeoLocation only?

 

I think it is a mix of autodetecting and settings. According to the bug tracker they are aware of the issue and there will be improvements in the next update (hopefully) ..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...