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

VM 3.2.2 lost translation from language folder after update to J! 3.7.1

Started by Miku, May 23, 2017, 10:43:14 AM

Previous topic - Next topic

Miku

Hi,

It's really wird and despite my best efforts I'm not able to find the culprit.
The issue concerns product details view (frontend).

After update to J! 3.7.1 it looks like the non-native translation is no longer used. By 'non-native' I mean the translation for 'com_virtuemart.ini' in \language folder.

Instead of translation from \language VM uses English language translation from .ini file placed in \administrator\language\en-GB

I've lost translation for: COM_VIRTUEMART_PRODUCT_ASK_QUESTION
COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX
COM_VIRTUEMART_RELATED_PRODUCTS
and so on...

No such problem for VM 3.2.2 and J! 3.6.5

Milbo

Maybe joomla changed finally the preference.

The correct preference is to use the "relative language" folder =>/components/com_virtuemart/languages
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Miku

Does a lack of any change in the last two revisions of VM (3.2.2/3.2.3) mean that the problem doesn't exist? I'll explain once again the matter:

The issue concerns product details view (frontend) in multilanguage site.
Custom translation of other language (pl-PL.com_virtuemart.ini file in my case, being placed in \language folder) is replaced by default English translation from .ini file placed in \administrator\language\en-GB

So for example instead of Polish description of COM_VIRTUEMART_PRODUCT_SALESPRICE I have it in English...


jjk

Just a guess - do you have selected a language fallback in the VM configuration? Maybe check if the missing translations show up again when you change the language fallback selection.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Miku

I use 'No Fallback. But regardless the used setting (No Fallback/Dual Fallback or both of them at a time) no change... The problem still exists.

jjk

It is also possible that escaped double quotes ("_QQ_"), which some translators used in the translation on transifex.com cause such a problem when using Joomla 3.7.x. Just checked the polish pl-PL.com_virtuemart.ini and found a few of these. You may try to download and install the updated language pack from here: https://virtuemart.net/community/translations
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Miku

Quote from: jjk on June 01, 2017, 12:37:23 PM
It is also possible that escaped double quotes ("_QQ_"), which some translators used in the translation on transifex.com cause such a problem when using Joomla 3.7.x. Just checked the polish pl-PL.com_virtuemart.ini and found a few of these. You may try to download and install the updated language pack from here: https://virtuemart.net/community/translations

Thank you! :) :). That did the job.