Hi, I wonder if anyone knows how to translate in Italian the string "Customfield Cart Variant", I can not find in any language files. Could you help me?
thanks
I suppose that language string is supplied by your template. As far as I know it's not part of any original VM language file.
But I think it depends on virtuemart as the string is also displayed in the backend product page...
You appear to be using VM3.0.4 which is known to be insecure. You should be using at least VM3.0.8, and current release version is 3.9.4 http://virtuemart.net/news/latest-news/469-security-release-vm3-0-8
The text Customfield Cart Variant does not appear in current versions, but may have been used 6 months ago when 3.0.4 was released. There have been a lot of changes & bug fixes since then.
Ok, it's your custom field title that is displayed. If you want to translate custom fields, see here: http://forum.virtuemart.net/index.php?topic=96758.0
I've written that long time ago, but it still works like this in latest VM versions.
I tried to put in override
COM_VIRTUEMART_CUSTOM_CART_VARIANT
COM_VIRTUEMART_CUSTOM_CLASS_NAME
but nothing, even to include it in the file of Italian language, but did not enter anything.
the problem is that I really find the string in the file of the original language.
Quote from: aeffe68 on July 07, 2015, 14:12:01 PM
I tried to put in override
COM_VIRTUEMART_CUSTOM_CART_VARIANT
COM_VIRTUEMART_CUSTOM_CLASS_NAME
That's wrong. These keys are used by VM in other views. You should open your 'Custom Fields' List. Somewhere in that list you should have 'Customfield Cart Variant' as a title. Looks to me like an old custom field title from the sample data. If you want to have a title in more than one language, you have to invent your own language key and enter that instead of the plain language title. For example COM_VIRTUEMART_CUSTOM_CART_MYVARIANT. Afterwards you can add something like:
COM_VIRTUEMART_CUSTOM_CART_MYVARIANT="Colore: " as a language override into the italian language override file.
If your site uses Italian only, you could also simply exchange the "Customfield Cart Variant" title with for example "Colore".
I tried to enter into the italian language override file
COM_VIRTUEMART_CUSTOM_CART_MYVARIANT = "colore:
but nothing happens
I solved it by directly editing the database.
Thank you all for availability