Jump to:

1835 Posts in 473 Topics by 403 members

E-Commerce Module

SilverStripe Forums » E-Commerce Module » Help with translation

Discuss the E-Commerce Module.

Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba

Page: 1
Go to End
Author Topic: 394 Views
  • Webdoc
    Avatar
    Community Member
    277 Posts

    Help with translation Link to this post

    how to translate the fields

    function getEcommerceFields() {
          $fields = new FieldSet(
             new HeaderField('Personal Information', 3),
             new TextField('FirstName', 'First Name'),
             new TextField('Surname', 'Surname'),
             new TextField('HomePhone', 'Phone'),
             new TextField('MobilePhone', 'Mobile'),
             new EmailField('Email', 'Email'),
             new TextField('Address', 'Address'),
             new TextField('AddressLine2', ' '),
             new TextField('City', 'City'),
             new DropdownField('Country', 'Country', Geoip::getCountryDropDown(), self::findCountry())
          );
    and so on like amount, i have multilingual site

    394 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.