Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

unique urls for links in another language page ?


Edmound

Recommended Posts

hi all ...

i have my shop supporting two different languages ... and i have articles published. when i wanna point my users to the form (contact us for example ) i set the link to http://mydomain.com/testing/contact_us.php but in which language the form will be displayed ? english or arabic ... ? how can i point the users to the arabic contact us form and in another article i want to lead them to the english contact us form

Link to comment
Share on other sites

Every browser has a default language.

 

osC detects that and tries to load using that language I believe.

 

One way to force use of another language is to include that in the link, such as:

 

http://www.yoursite.com/contact_us.php?language=en

 

A link like that would force use of english in the browser.

 

This probably isn't the only way, and maybe not the "best"way, it it's ONE way nevertheless.

:lol:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Every browser has a default language.

 

osC detects that and tries to load using that language I believe.

 

One way to force use of another language is to include that in the link, such as:

 

http://www.yoursite.com/contact_us.php?language=en

 

A link like that would force use of english in the browser.

 

This probably isn't the only way, and maybe not the "best"way, it it's ONE way nevertheless.

:lol:

thats all the information i need .. that works .. :D for me .. thank u so much ..

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...