Jump to:

2082 Posts in 1002 Topics by 452 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Help with translation

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: 603 Views
  • Webdoc
    Avatar
    Community Member
    332 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

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