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.

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Checkout page doesn't get translated


Reply


3 Posts   695 Views

Avatar
quanto

Community Member, 81 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, 232 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 [url=https://github.com/burnbright/silverstripe-shop/issues?milestone=1]version 1[/url] 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, 81 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.