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
[solved] orders, confirmation jumps to wrong language
[solved] orders, confirmation jumps to wrong language
Last edited by janvl on Tue Jun 04, 2013 3:03 pm, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: orders, confirmation jumps to wrong language
use {cms_set_language} at the page level, and not the (deprecated) lang parameter at the module level.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: orders, confirmation jumps to wrong language
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
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
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: orders, confirmation jumps to wrong language
Thanks Jo,
I will do this immediately.
I guess is has been too long since I looked in the documentation . . .
Kind regards,
Jan
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
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
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


