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

Help with translation




Community Member, 334 Posts

1 June 2010 at 1:43am

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