News:

Looking for documentation? Take a look on our wiki

Main Menu

Category and product names don't display in other languages

Started by Philippe MARTY, December 02, 2019, 11:28:32 AM

Previous topic - Next topic

Philippe MARTY

Hello,
My virtuemart is in french, but translated in english and soon in spanish.
I'm using virtuemart in catalog mode.

When switching to english on the website, everything is ok (menus, contents...) but when displaying the shop page, products names and categories names are not translated. I can't understand where is the problem.
I've translated the names in the backend as you can see here:


And add the languages in the config page:


But on the frontpage, french is displayed, as you can see here, all the names of the categories are in French (Terrasse/extérieur, Maison/intérieur, Salle de bain)
http://p19.a51.fr/index.php?option=com_virtuemart&view=category&virtuemart_category_id=0&virtuemart_manufacturer_id=0&Itemid=165&lang=en

Does anyone have an idea?

Working with Joomla and making business with VirtueMart :)
http://www.atelier51.com

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jjk

Try if updating your language packs with the current downloads from here solves the problem: http://virtuemart.net/community/translations
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Philippe MARTY

Nope, I've downloaded English and French translations. Installed them. No change.

BTW, I've forgotten to list my config:
Joomla 3.9.13
VM 3.6.10
Multilingual French - English, and soon in Spanish.
Working with Joomla and making business with VirtueMart :)
http://www.atelier51.com

GJC Web Design

what if u set the langue de la boutique to the same as the Joomla core language?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Philippe MARTY

My website is a french one, the shop has been built in french.
And I add the translations for categories, products, custom fields and so on.
But only custom fields (based on languages overriding) are translated when switching to english. All the virtuemart's things stay in French.
Really frustrating...
Where is the problem?
Working with Joomla and making business with VirtueMart :)
http://www.atelier51.com

jjk

Probably a configuration problem somewhere. Please check your Joomla and VirtueMart settings against this tutorial. (It's pretty old and was written for Joomla/VM 2.x, but it's still valid). The first link to a pdf tutorial uses a french example: https://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html

Also use the Joomla 'Debug Language' to find out if the file en-GB.com_virtuemart.ini is loaded when you switch to English.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Philippe MARTY

Hello,
That was the doc I've followed to check my install prior to ask for help here.
I double checked, it's ok for me.

I enabled language debugging and as you can see on the page, the file en-GB.com_virtuemart.ini is loaded.
http://p19.a51.fr/index.php?option=com_virtuemart&view=category&virtuemart_category_id=0&virtuemart_manufacturer_id=0&Itemid=165&lang=en

Curious isn't it?
Working with Joomla and making business with VirtueMart :)
http://www.atelier51.com

Jörgen

You have language files not loaded for regularlabs, advancedmodule and yootheme. Maybe a place to start?

Jörgen @ kreativ fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jjk

Also it looks to me like you currently have only a single Language (uk) switcher module published. There should be one with the language tag set to French and a copy of that module with the language tag set to English. Another possible source of the problem is that you currently don't have an English menu item for each of your French menu items. Once you have configured the menus in all published languages, it's a good idea to click the 'Rebuild Menu' button in Joomla adminstration > Menu > 'Manage' view. (Sometimes Joomla produces hiccups within menu table in the database)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Philippe MARTY

Quote from: Jörgen on December 04, 2019, 11:42:46 AM
You have language files not loaded for regularlabs, advancedmodule and yootheme. Maybe a place to start?

Those files don't have any link with VM translations.
And, category names are not saved in language files but in the VM database as they are entered in the VM backend.
Working with Joomla and making business with VirtueMart :)
http://www.atelier51.com

balai

I had the same issue.
Please check if you are using any system plugin related with Virtuemart.
If that's the case, make sure that this plugin is loaded after the joomla's language filter plugin or that is disabled. Also make sure that you are using the plugin's latest version.

http://forum.virtuemart.net/index.php?topic=143870.0

Philippe MARTY

Found!
I'm using Yootheme Pro and I have forgotten to disable the French menu from the builder, and create my French menu via a standart Joomla module.
It was just that.
And now all is working fine.
Thanks to all for your help :)
Working with Joomla and making business with VirtueMart :)
http://www.atelier51.com