VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Miku on May 23, 2017, 10:43:14 AM

Title: VM 3.2.2 lost translation from language folder after update to J! 3.7.1
Post by: Miku on May 23, 2017, 10:43:14 AM
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
Title: Re: VM 3.2.2 lost translation from language folder after update to J! 3.7.1
Post by: Milbo on May 23, 2017, 11:41:32 AM
Maybe joomla changed finally the preference.

The correct preference is to use the "relative language" folder =>/components/com_virtuemart/languages
Title: Re: VM 3.2.2 lost translation from language folder after update to J! 3.7.1
Post by: Miku on June 01, 2017, 10:23:26 AM
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...

Title: Re: VM 3.2.2 lost translation from language folder after update to J! 3.7.1
Post by: jjk on June 01, 2017, 10:48:25 AM
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.
Title: Re: VM 3.2.2 lost translation from language folder after update to J! 3.7.1
Post by: Miku on June 01, 2017, 10:57:18 AM
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.
Title: Re: VM 3.2.2 lost translation from language folder after update to J! 3.7.1
Post by: 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
Title: Re: VM 3.2.2 lost translation from language folder after update to J! 3.7.1
Post by: Miku on June 01, 2017, 13:08:31 PM
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.