Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Checkout page doesn't get translated


Go to End


3 Posts   1731 Views

Avatar
quanto

Community Member, 91 Posts

22 May 2012 at 12:28am

Hi,

I'm using Jeremy's shop module. When I try to checkout my basket, the page doesn't get te (dutch) translation file. I think everything in mysite/_config.php is set well:

...

// Set the site locale
i18n::set_locale('nl_NL');
i18n::default_locale('nl_NL'); 
...
//NON-ECOMMERCE SETTINGS
Payment::set_site_currency('NLD');
Geoip::$default_country_code = "NL";
i18n::set_locale('nl_NL');
setlocale (LC_TIME, 'nl_NL@euro', 'nl_NL.UTF-8', 'nl_NL', 'nl', 'nl');
...

the test version of the shop : http://bit.ly/rnCYxH

Avatar
Jedateach

Forum Moderator, 238 Posts

22 May 2012 at 8:33am

Hi quanto,

I have not updated the translation files for a long time, so yes you'll probably find that the translation does not completely work. I'm sorry for this being the case.

My rough plan is that version 1 of the shop module will be fully translatable.

Here are some related outstanding issues:

* https://github.com/burnbright/silverstripe-shop/issues/2
* https://github.com/burnbright/silverstripe-shop/issues/43

If you can offer help in this area, it is appreciated. Even if it's just pointing out the parts of the shop that can't yet be translated.

regards,
Jeremy

Avatar
quanto

Community Member, 91 Posts

25 May 2012 at 2:41am

I did a find / replace on OrderInformation_Editable to Order_Content_Editable in the language files I needed. The most of lines are working now :). Now i'm going to find the items that aren't translated.