Joomla 2.5.11
Virtuemart 2.0.22c
Multilanguage site French + English.
I've just updated virtuemart 2.0.22b to virtuemart 2.0.22c and everything is fine except that my Custom Fields are no more translated. It works fine on the previous version.
And my Language Overrides file is the same and still there !
Any idea why ?
Same here. Killed by the 2.0.22c. :-\
Any idea from anyone??? Pauleluard - did You find a solution?
No... and I'm amazed that we are the only one facing this.
Everywhere on the site the translation works fine except for the 4 strings that correspond to the card variant of my custom fields.
Custom Field Type: Cart Variant
Default : PRINT;FRAME;ALUMINIUM;PLEXIGLASS
In my French override language file, I have :
PRINT="Tirage"
FRAME="Cadre Classique"
ALUMINIUM="Châssis Aluminium"
PLEXIGLASS="Finition plexiglass"
In my English override language file, I have :
PRINT="Print"
FRAME="Classic Frame"
ALUMINIUM="Aluminium framework"
PLEXIGLASS="Plexiglass finish"
Now, on the front end only the strings appears in the drop down options.
Again those strings were translate in 2.0.22b but not anymore in 2.0.22c !
Please help?
Same issue on C but I just installed version D and it solved it.
Regards
Nope, D did nothing for me... :(
How about You, pauleluard?
The new version D didn't change the problem.
Still no translation of my custom fields.
Are you sure that you did everything like in tutorial
http://docs.virtuemart.net/tutorials/36-multilingual-store/105-using-language-keys-in-form-fields.html
?
Thanks for your reply.
I supposed I did it correctly because as I wrote before on the 2.0.22b version everything was translate.
Now with 2.0.22c and d, only the custom field's translations are missing.
I'm talking about the Cart Variant Custom field.
See files attached
[attachment cleanup by admin]
At last, I finally find the solution :
http://www.youtube.com/watch?v=MYf5FXyoa-A
Hehe,
It is really strange. There is also another post, youre not the only ones. We just changed nothing there. But you gave a good hint, you have the problem only for "cart variant". So I take a look there.
I doubt that it worked before for your combination.
check your customfield model, function getProductCustomsFieldCart
search for
if ($group->field_type == 'V') {
around line 880
replace the line starting with $productCustom->text by
$productCustom->text = JText::_($productCustom->custom_value) . ' ' . $price;
Yes yes, thanks so much
The problem is solved now :)
In administrator/components/com_virtuemart/models/customfiels.php
replaced in line 878 :
$productCustom->text = $productCustom->custom_value . ' ' . $price;
by
$productCustom->text = JText::_($productCustom->custom_value) . ' ' . $price;
Regards