Hi BanquetTables.pro,
Thank you for your work on this plugin (and in general for VM!).
I am struggling having custom field displayed in a multi-lingual shop. I have tried a lot of solutions, but at no avail yet. Using language override for custom fields (name and value) is working in front end (cart display, checkout, order history, ...) EXCEPT in the product detail page, the most important one for the customer.
Will it work with your plugin?
If not, do you know where/how the drop down list is built?
I really want to tackle this issue, so if you have nay hints, pointers, and/or if we can work together, let me know, please.
Kind regards.
I dont know if this will work,
and do you men where the dropdown is built in MY plugin?
if so, yes
drop.php
I was struggling with the Jtext method and the JHtml:select.genericlist, but nearly get it work with language constants instead of regular values (for example JYES, wich is "Yes" in the English language file, "Oui" in the French one, etc...)
That means that one can input as option list:
SIZE_BABY_06,SIZE_BABY_12,SIZE_BABY_18,SIZE_BABY_24
and put the corresponding value in the language override (Language Manager > Override > select installed languages)

From drop.php, I just added two JText call:
- line 100:
$html .= '<span>'.JText::_($myparams->custom_drop_name).' ';
- line 105:
$html .=$separator.JText::_($item['custom_drop']).'</span>';
The last thing is to make it work with price variant, and I am sure you will find it quickly:
How to isolate only the beginning of the string, before the price modifier (|+5) after line 51?
This part will need another JText, and that's it!
Hope we can find it soon
