Jump to content

language selecetion when calling shop index


artmusicstudio

Recommended Posts

hello,

is there a way to pass a start-up language to the shop index page?

something like

header('Location: https://www.xy/zzzz_shop/index.php?languange=en');

i have multiple - language - web and it would be great to start the shop with the selected language.

thanx a lot.

 

stan

Edited by artmusicstudio
typo (see edit history)
Link to comment
Share on other sites

hi el,

thank you very much.

i already set this.

 

my intention is to allow users in countries other then german or english to

read my web-site in english and then call the shop in english automatically.

 

the "browser-language" solution - as far as i can understand it - only works for languages installed in presta......

 

so in my german browser, although with a website in english (php-side), the shop will always start in german.

 

edit1: from german broswer the shop start in english - from german windows.....not sure, why...

 

stan

 

Edited by artmusicstudio
add info (see edit history)
Link to comment
Share on other sites

I think I understand.

default language is german

secondary is english

for italian(it)/span(es) you want to serve english.

The easiest way to do this is to simply set you default language to en..  German visitors will still be served de everyone else en.

Make sure when testing, chrome is easiest to mange lang.....to open a chrome incognito window for each new test.

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...