[solved] orders, confirmation jumps to wrong language

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

[solved] orders, confirmation jumps to wrong language

Post 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
Last edited by janvl on Tue Jun 04, 2013 3:03 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: orders, confirmation jumps to wrong language

Post by calguy1000 »

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.
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

Re: orders, confirmation jumps to wrong language

Post 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
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: orders, confirmation jumps to wrong language

Post by Jo Morg »

"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!
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

Re: orders, confirmation jumps to wrong language

Post 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
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

Re: orders, confirmation jumps to wrong language

Post 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
Post Reply

Return to “Modules/Add-Ons”