News:

Looking for documentation? Take a look on our wiki

Main Menu

Translate the string "Customfield Cart Variant"

Started by aeffe68, July 06, 2015, 12:38:33 PM

Previous topic - Next topic

aeffe68

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

jjk

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.
Non-English Shops: Are your language files up to date?
[url="http://virtuemart.net/community/translations"]http://virtuemart.net/community/translations[/url]

aeffe68

But I think it depends on virtuemart as the string is also displayed in the backend product page...

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jjk

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.
Non-English Shops: Are your language files up to date?
[url="http://virtuemart.net/community/translations"]http://virtuemart.net/community/translations[/url]

aeffe68

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.

jjk

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".
Non-English Shops: Are your language files up to date?
[url="http://virtuemart.net/community/translations"]http://virtuemart.net/community/translations[/url]

aeffe68


I tried to enter into the italian language override file
COM_VIRTUEMART_CUSTOM_CART_MYVARIANT = "colore:
but nothing happens

aeffe68

I solved it by directly editing the database.
Thank you all for availability