Hello. I am a newbie to both this Forum and to Zen Cart.

This seems to be a relevant place to put my query, rather than start a new thread, but correct me if I am wrong please.

Forgive my apparent lack of intellect, but I just cannot see how to change my main page between two languages.

The main page (tpl_main_page.php) appears (to me) to be ONLY in the "COMMON" directory, and not in the "LANGUAGES" directory, thus I can only use one language for a large part of the introduction to my site.

I had (crazy??) thoughts of making a main page with both English and Thai languages selected with a PHP "IF" and "ELSE" statement but I could not find an existing variable for the 'XXXXX'.

[pseudo-code]

IF {
XXXXX == 'en' {
.... here is the English page
}
ELSE {
.... here is the (default) Thai page
}

[pseudo-code end]


Additionally loading a double size page is not very user friendly - and uses extra bandwidth on my server. Not a good idea.

My next thought was to have one main page with just a PHP version IF/ELSE to go to one of two main pages tpl_main_page_en.php or tpl_main_page_th.php but still the variable eludes me.

By setting Thai as the default language everything else changes as I would expect - it even detects the language setting of my browser.

Has anyone any suggestions on which variable I can use ... or more importantly which one Zen uses?

Thanks a lot, Chris.