Post by aurevilly » Thu Feb 02, 2012 5:10 am

Hello,

I have a website in French and English and I'd like to have my French customers be redirected automatically to the French site by detecting the OS/Browser language.

I have search on the forums and I've heard some people say OpenCart works with a Language Auto Detection.

Does it work? Is there any module for sale out there? Any settings I am missing?

Thanks.

BTW: Using OC 1.5.1.3

User avatar
New member

Posts

Joined
Thu Sep 29, 2011 4:32 am
Location - Sherbrooke, Canada

Post by Qphoria » Thu Feb 02, 2012 11:14 pm

it works by default as long as you have both languages installed.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by aurevilly » Wed Feb 08, 2012 4:40 am

Both language are installed. English is set by default.

English locale: en_US.UTF-8,en_US,en-gb,english
French locale: fr_CA.UTF-8,fr_FR.UTF-8,fr_CA,fr_FR,fr-fr,french

Just ran phpInfo, I'm getting this:

HTTP_ACCEPT_LANGUAGE fr,en-US;q=0.8,en;q=0.6

Still getting the english front page as default even with no cookie or other browsers on my french OS.

Am I missing something?


So I added 'fr' to the list. It working.

User avatar
New member

Posts

Joined
Thu Sep 29, 2011 4:32 am
Location - Sherbrooke, Canada

Post by TheoLogosPub » Sun Jul 15, 2012 5:10 pm

How to extend this auto language detection over to the PayPal side?

I mean, say when I use Chinese to order and when I am redirected to PayPal's side, they will automatically serve their Chinese pages there. Possible?

Aubrey at
TheoLogos Publications 神道出版社


User avatar
New member

Posts

Joined
Tue Dec 06, 2011 8:48 am

Post by Serhiy » Thu Jun 06, 2013 2:49 pm

I think I can help to solve such a problem. If anyone need to fix it write me to sernuzh@gmail.com

http://codelandriver.com
sernuzh@gmail.com


New member

Posts

Joined
Fri Jul 29, 2011 11:22 pm
Who is online

Users browsing this forum: Semrush [Bot] and 96 guests