VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: Tanker on June 12, 2019, 22:29:27 PM

Title: Multivarian Language issue
Post by: Tanker on June 12, 2019, 22:29:27 PM
I have a custom filed which is used for multi-variant.

Product 1 {Multi variant 1 $10,  Multi variant 2 $20, Multi variant 3 $30}
Up to this point everything works fine, the problem is with multi language.
The product name and description all good, but the options of multi varian doesn't change language even if language is set for each option.

Question is how can I make this work?
Main product
(http://sepremex.com/koko/kosher_1.PNG)

Option product
(http://sepremex.com/koko/kosher_2.PNG)

Option product second language
(http://sepremex.com/koko/koko_2-5.PNG)

What I have notice is that in the select box the name of the options doesn't change:
(http://sepremex.com/koko/koko_3.PNG)

(http://sepremex.com/koko/koko_4.PNG)
What does change the title, so the question is, how do I make the options to change according to the selected language?...
Thank you.
Title: Re: Multivarian Language issue
Post by: jjk on June 13, 2019, 21:58:22 PM
I currently don't have a complete example, but you will need to add language keys into the fields you want to translate and then add these language keys and their strings (the text you want to display) into the list of Joomla language overrides for each site language. Perhaps the attached screenshots help to understand how to do this.
Title: Re: Multivarian Language issue
Post by: Tanker on September 26, 2019, 19:18:33 PM
Thank you, I did that for one product and it worked,
then I did a little script to so for each product... but that didn't worked... I only replaced the customfield_params on virtuemart_product_customfields that table... I'm sure missing something else... but not sure what... or actually where else I need to replace that information...