News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem with plugin for Weigth/Countries

Started by vis18neu, December 03, 2011, 11:32:35 AM

Previous topic - Next topic

vis18neu

File weight_countries.xml uses expression VMSHIPMENT and loads translations from file en-GB.plg_vmshipment_weight_countries.ini, but language files are called en-GB.plg_vmshipper_weight_countries.ini and use expression VMSHIPPER. When you install language files, all expressions in this plugin are not translated. I suppose this is a mistake - I changed the name of language file and  replaced the expression VMSHIPPER with VMSHIPMENT and translation is now ok.

These language files are also missing two language tags (I assume these are the ones for the cost of shipping per unit):

VMSHIPMENT_WEIGHT_COUNTRIES_COST=""
VMSHIPMENT_WEIGHT_COUNTRIES_COST_DESC=""

jjk

en-GB.plg_vmshipper_weight_countries.ini recently has been renamed to en-GB.plg_vmshipment_weight_countries.ini. If you have both files in your .../administrator/language/en-GB folder, you can delete the vmshipper file.

If you find such missing strings, you can simply open the language file with an editor (i.e. the free Notepad++ editor) and fill in the missing strings. In this case the two lines are:

VMSHIPMENT_WEIGHT_COUNTRIES_COST="Shipment Cost"
VMSHIPMENT_WEIGHT_COUNTRIES_COST_DESC="Shipment Cost to apply for all orders when the weight is between Lowest Weight and Highest Weight"

Alternatively you can follow the links in this post http://forum.virtuemart.net/index.php?topic=89336.0  and see if updated language files are available.

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations