Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Shipping by Rules for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Multilanguage Virtuemart need constant for "name" 03 Mar 2016 19:10 #1

  • quintangai@gmail.com
  • quintangai@gmail.com's Avatar Topic Author
I read on your help that I must use the joomla language overrides which I understand how to use...
however I cannot find to which constant should I refer to when I want to translate your variable "name" ...
if I have "name=Please enter your data first to calculate shipping cost" I understand that then your name variable should efer to a constant in VM ? can you tell me which one ? I have looked at your code and found VMSHIPMENT_RULES_SHIPPING_NAME but this is not found by language overrride of version 3.4 of joomla...
thanks for your help.

Multilanguage Virtuemart need constant for "name" 04 Mar 2016 21:01 #2

Dear quintangai,
To translate rule names, you can use a constant as the name and translate that. E.g.
Name=SHIPPING_ENTER_DATA_FIRST; zip<=0; NoShipping
You would then translate the constant SHIPPING_ENTER_DATA_FIRST in Joomla's backend (Extensions -> Language Manager -> Overrides) to your desired strings in your languages.

The constants you use as your rule names don't have to exist anywhere in the Joomla or VirtueMart language files, so you won't be able to search for them. But the plugin will use the translation of that constant nonetheless.

Best regards,
Reinhold

Multilanguage Virtuemart need constant for "name" 06 Mar 2016 11:34 #3

  • quintangai@gmail.com
  • quintangai@gmail.com's Avatar Topic Author
Thanks for your answer... it has cleared out that my english comprehension level should increase...
and the solution was so obvious that I did not see it.

Thanks again

[SOLVED] Multilanguage Virtuemart need constant for "name" 06 Mar 2016 11:53 #4

Problem solved.
  • Page:
  • 1