Translate Form Fields Using Language Keys
5 (100%) 1 vote

LOOKING FOR NEW WEBSITE TEMPLATES FOR NEXT PROJECTS?

Check out 65+ FREE Joomla! templates See 60+ FREE WordPress themes

VirtueMart 2 allows you to translate many form fields by adding a language key. This is for all fields.
We have an example: In a multilingual shop, you want to translate the gender-specific salutation (title) in the dropdown selection available in shopper forms. Take a look on this screenshot:

shopper-form-title-dropdown

Go to VM Configuration > Shopper Fields > Title, then enter the keys like in the image below:

shopper-forms-title-translation

The next thing you need to do is to add your keys/strings to the en-GB and your language (de-DE in this example) file override files in the folder yourdomain\language\overrides. Or you can go to Language Manager > Overrides to add these lines to your language overrides.

language-manager-form-field-override

If you have any question about this post, don’t hesitate to leave a comment below. And don’t forget to share with your friends if you find it useful! Thanks!

Join Joomla & WordPress template club to access all themes and SAVE 95% cost than single PRO template purchase!

Join Joomla! Club (50% OFF on today) Join Joomla! Club (50% OFF on today)

Leave a Reply

Your email address will not be published. Required fields are marked *

[Flash Sale!] 20% OFF for PRO order, 50% OFF for Membership! Limited time, hurry up! Save money for your order on today!
[xMas is coming!] Enjoy your purchase extra discount up to 50% OFF for all products! Coupon code: XMAS50