News:

Support the VirtueMart project and become a member

Main Menu

Field description in custom fields not translated

Started by patrik60, July 21, 2012, 09:02:38 AM

Previous topic - Next topic

patrik60

When adding a JText to productdetails/tmpl/default_addtocart.php on line 35 field description will be translated:

<span class="product-field-desc"><?php echo JText::_($field->custom_field_desc?></span>

rvbgnu

Hi Patbe60,
Do you mean if one uses a language constant (like COM_VIRTUEMART_MY_DESCRIPTION) ?
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart


rvbgnu

Great so, and there may be of few JText missing in the code.
You should post in Development forum, it might be useful for the VM Dev team.

By the way, do you have any idea for the translation of custom fields (Without stock control)? I was struggling with this, you can find some details here:
http://forum.virtuemart.net/index.php?topic=90833.msg351312#msg351312
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart

patrik60

No I also don't have any idea. I was hoping you or someone else has a solution. Read also this here:

http://forum.virtuemart.net/index.php?topic=101664.msg350820#msg350820

I have selcted now the custom field type "String" instead of "Cart Variant".

rvbgnu

Quote from: patbe60 on July 24, 2012, 18:22:07 PM
I have selcted now the custom field type "String" instead of "Cart Variant".
I have to give it a try.

Thanks for the link, I will follow this thread too 8)
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart