News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Virtuemart cart module how to translate texts

Started by Reissuli, February 09, 2014, 19:19:38 PM

Previous topic - Next topic

Reissuli

Once again, I faced a problem, that I can not solve myself.

I have published Virtuemart Cart module, and the texts appear in English.
I was somehow able to change the "total" text to Finnish, "Yhteensä".
Now, I would need to change the "Cart" text to "Ostoskori".

I have spent 2 hours trying to do this, but Can not figure this out.. Big thaks, if someone could please help me.

jjk

It should be in the file your-root-directory\language\fi-FI\fi-FI.com_virtuemart.ini
Depending on your VirtueMart version it's approximately in Line 98:
COM_VIRTUEMART_CART_TITLE="Ostoskori"

I suppose you have an outdated finnish language file pack. You can download the latest translation files here: http://virtuemart.net/community/translations
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Reissuli

Yes, in the language file, there is in line 91, text:
COM_VIRTUEMART_CART_TITLE="Ostoskori"

But in the cart module, it still says "cart".

What to do?
I would suppose, that for some reason the cart module doesn't know how to get the right language.

jjk

#3
Sorry, I overlooked that you mean the cart module. The displayed default title of the module (see your module settings) is 'VM - Shopping cart'. If you see just 'Cart' I assume that your template comes with a cart module customized by your template developer. So maybe you need to check the language files or the cart module title of your template. If your site is bilingual, you need to publish one cart module for each language, e.g. one assigned to fi-FI and one assigned to en-GB.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Reissuli

Thank you!
I had no idea, that the template used a customized cart module. I found the correct file, and edited the text to "ostoskori". Now everything is looking fine!