Page 1 of 1

[solved] orders, confirmation jumps to wrong language

Posted: Mon Jun 03, 2013 11:45 am
by janvl
Hi,

I have set up an ecommerce part for a website in german.
The german part is working like expected.

When I want to use it in english, everything is in english, untill I checkout.
When I submit the billing information and jump to the confirmation I get the page in german.
Checkout is called through {orders lang='en_US'}

CMSMS 1.11.7
Orders 1.14
CGEcommercebase 1.4.2
CGExtenssions 1.34

All modules are the latest.

How do I force the confirmation to use english?

Even the php solution with
setlocale (LC_TIME, 'uk_UK.UTF8');
as the first line in the template does not help.

I would be kind for any hint on what I do wrong here.

Kind regards,
Jan

Re: orders, confirmation jumps to wrong language

Posted: Tue Jun 04, 2013 12:05 am
by calguy1000
use {cms_set_language} at the page level, and not the (deprecated) lang parameter at the module level.

Re: orders, confirmation jumps to wrong language

Posted: Tue Jun 04, 2013 11:23 am
by janvl
Thanks,

I removed the php set locale.

I just put in there
{cms_set_language 'en_US'} that gives an error

{cms_set_language assign='en_US'}
leaves me with german

The code for language must be the first part of the file in /lang or /lan/ext is that right?


I looked through several tags and searched the forum for the right syntax but cannot find it.

Could you please help again?

Kind regards,
Jan

Re: orders, confirmation jumps to wrong language

Posted: Tue Jun 04, 2013 12:01 pm
by Jo Morg

Re: orders, confirmation jumps to wrong language

Posted: Tue Jun 04, 2013 12:17 pm
by janvl
Thanks Jo,

I will do this immediately.
I guess is has been too long since I looked in the documentation . . .

Kind regards,
Jan

Re: orders, confirmation jumps to wrong language

Posted: Tue Jun 04, 2013 3:02 pm
by janvl
Ok

I have made a new page with
the following tag:

{cms_set_language lang='en_US'}
in the page-specific-tags

and the tag
{Orders}
in the page content

now it is working like expected!

Thanks for the help.

Kind regards,
Jan