Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: (Solved) user defined fields translate  (Read 4464 times)
francoalberto
Newbie
*
Posts: 6


WWW
« on: August 01, 2009, 11:23:23 AM »

Hi,

today I was looking for a solution, to edit own created user defined fields in Virtuemart (VM > Admin > manage userfields).

If you create them, they are added to the mysql, but the only thing is, they are missing in the language files from VM.

To make it easy, the best way is as follows:
e.g. VAT ID ore USt-IdNr.

Add / Edit user fields
field type: euvatid (selcted from list)
field name: vm_euvatid (vm_ is added automatically
field title: PHPSHOP_SHOPPER_FORM_EU_VATID (good to take a string form  similiar to an existing field. The field ID changes autmatically, when you define this string inside the following file at your server)

Go to /joomla/administrator/components/com_virtuemart/languages/common
and select your desired language files and add the following
e.g.
german.php
'PHPSHOP_SHOPPER_FORM_EU_VATID' => 'USt-IdNr.',

english.php
'PHPSHOP_SHOPPER_FORM_EU_VATID' => 'EU VAT-ID',

After this the field title at VM > Admin > manage userfields is changed to "EU VAT-ID" if your admin language is english

I would prefer to translat this directly in joomfish, but there was no access to the VM admin

Hope it helps

Best regards
Franco

VirtueMart 1.1.3 stable
Joomla! 1.5.13 Stable [ Wojmamni Ama Baji ] 23-July-2009
JoomFish 2.0.3
« Last Edit: August 01, 2009, 11:30:59 AM by francoalberto » Logged

Regards
Franco
Knud Lazuri
Newbie
*
Posts: 23


« Reply #1 on: October 29, 2009, 13:19:35 PM »

It did help. Thank yo very much for sharing knowledge  :-)
Logged
Pages: [1]   Go Up
Print
Jump to: