Jump to:

2076 Posts in 857 Topics by 449 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Checkout page doesn't get translated

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

Page: 1
Go to End
Author Topic: 546 Views
  • quanto
    Avatar
    Community Member
    79 Posts

    Checkout page doesn't get translated Link to this post

    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

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Checkout page doesn't get translated Link to this post

    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

  • quanto
    Avatar
    Community Member
    79 Posts

    Re: Checkout page doesn't get translated Link to this post

    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.

    546 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.