Hello,
I have a serious multilingual problem.
I'm using the latest Joomla version with Virtuemart 3.6.1 10129.
When I change the language the Virtuemart component isn't translated, enabling the debug, I see this:
1 vmdebug Show All Errors, PHP-Version 7.1.26
2 vmdebug 2 Languages, default shoplanguage (VmConfig::$jDefLang): it_it it-IT Selected VM language (VmConfig::$vmlang): it_it it-IT SEF: it $lfbs =
The menu is translated, but the rest no.
In the html code I see:
<html lang="it-it" dir="ltr">
but I need to see:
<html lang="en-GB" dir="ltr">
Options:
- Language filter enabled
- Language code enabled
- Translations done
- Language settings done
- Language associations done
- Multilingual menu item done
Any idea?
Thanks a lot.
Davide
And what does it show after you have selected English? Also, does the 'Multilingual Status' in Joomla administration (the module has to be enabled) show anything missing?
You may also use Joomla's 'Debug Language' to check for language file problems.
Hi jjk,
I did everything, but no solutions until now.
In multilingual status everything is green.
When I change language the menu is translate, but the virtuemart category is in the main language, italian.
Thanks.
Daivde
Switching languages works fine in my Virtuemart 3.6.1 10129. Is yours a new shop or an existing shop updated from an earlier version?
I assume u have installed the VM languages u need?
if so are the VM language tables it_it and en_gb in your database? product, cat, vendor etc etc
selected allowed lang in VM admin?
How do you change the language? at the dropdown on the left? This does NOT change the language of the gui, it loads the translation for the category or product for example.
Quote from: Milbo on September 11, 2019, 14:44:51 PM
How do you change the language? at the dropdown on the left? This does NOT change the language of the gui, it loads the translation for the category or product for example.
Hi Milbo, no no, I'm referring to the front end view.
@GJC yes, all the tables are present.
@jjk update from 3.4.5 or 3.4.2, I don't remember, but before it wasn't multilingual.
Anyone can help me or give me some ideas?
Thanks.
Davide
Hello,
I still have this problem... anyone had the same problem?
Thanks,
Davide
Hi! I have the exact same problem... do you use falang? I think that falang changes the language of everything except virtuemart...
I've had similar behaviour with "Joomla Virtuemart Product Social Share" plugin by Webkul on a client website.
Unpublished and problem was gone.
Webkul development are actually really bad and I try to stay away from any of their product.
If u trace it to a plugin then it is normally they way they load ( or don't load properly) the VM config..
Compare how it is done on a recent ext. e.g.
if (!class_exists( 'VmConfig' )) require(JPATH_ROOT .'/administrator/components/com_virtuemart/helpers/config.php');
VmConfig::loadConfig();
and how the suspect plugin does it
Hello! I found that in my case the error was cause by a plugin called "System Vm3 Cart".
Is it a plugin from Virtuemart or added by the template or something? It just prevented the language to be changed inside virtuemart only...
Ahaa! It is not a plugin included with default VirtueMart but is known to cause problems. See http://forum.virtuemart.net/index.php?topic=144117.msg510193#msg510193
QuoteAhaa! It is not a plugin included with default VirtueMart
You are wrong :)
The same problem I have with standard payment plugin from VirtueMart. The plugin is not initialized and I must vreate hack last week.
VirtueMart working bad with initialize some core code after update from 3.4.5 to higher.
A lot of developer send me emails and a lot of website I must repair.
Pls fix then or create article about this in documentation.
Thanks
Pinochio
Here we go again - you are wrong!
Last chance for you - do it again and you will be banned
AH:
and how can I send better?
Use "I think" if I know then I must fix some bugs?
Is better for communicate only, because the fact is not missing with another world, isn't it?
pinocchico. Why you never report your changes or bug fixes ?
In my case, i already had the problem.
first solution, reoder the plugins to have all Joomla system language loading first.
If it's not solved, check all plugin that load the vmconfig using loadConfig(FALSE,FALSE, false, false);
See max answer http://forum.virtuemart.net/index.php?topic=143870.msg509295#msg509295
And please dont always promote your work and blame the team.
I blame the team too sometime, but try to solve the issues.
Patrick:
Sure :)
this is my report and fix:
http://forum.virtuemart.net/index.php?topic=144756.0