News:

Looking for documentation? Take a look on our wiki

Main Menu

Bug translating in another language

Started by balai, November 27, 2019, 14:57:56 PM

Previous topic - Next topic

balai

I am checking the translation functionality in a multi-lingual site (English - Greek).

When i turn in Greek, the VM pages remain in English, although the rest of the site is translated normally.


The site is configured as multi-lingual in the VM configuration
The mentioned product is translated in both languages in VM.
The menu items for the different languages as well as the Joomla content languages exist.
Also there are language files for both languages (en-GB, el-GR).




Checking further seems to be related with the vmText::_() function.
Replacing the vmText with the JText, in the VM layouts, fixes the issue.

System:
Virtuemart 3.6.8 10197
Joomla 3.9.11
PHP 7.1.x

jjk

Please also check if you have a "_QQ_" in your VM frontend el-GR.com_virtuemart.ini. If yes, it can prevent the language file from loading. Joomla's 'Debug Language' would show an affected file as 'not loaded'.
See: https://forum.virtuemart.net/index.php?topic=143950.msg509317#msg509317
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Studio 42

You have to activate the Joomla multi-language plugin too and set it first in the list.

balai

As said, i am using the VM language files and the translation works for the rest of the Joomla site. Also works if i replace vmText with JText in the VM layouts.

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

balai