Zen Cart Logo
Forums / General Questions / How do I set the language from a non-zen-cart page?

How do I set the language from a non-zen-cart page?

Locked

Views: 1,137

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 May 2008, 2:51 AM
#1
jdl avatar

jdl

New Zenner

Join Date:
May 2006
Posts:
59
Plugin Contributions:
0

How do I set the language from a non-zen-cart page?

My site is in Spanish and English. Some of my pages live outside of zen-cart (they existed before I ever added zen-cart). If the user sets the language outside of zen-cart, I want to let zen-cart know about the language change and vice versa. Since the zen session doesn't seem to be available outside of the zen pages, I don't know if this is possible or if there's a workaround? Thanks, jdl

28 May 2008, 5:50 PM
#2
jdl avatar

jdl

New Zenner

Join Date:
May 2006
Posts:
59
Plugin Contributions:
0

Re: How do I set the language from a non-zen-cart page?

I got it working by using the _SESSION vars and appending &language=xx to my menu items.

jdl