Author Topic: Category and product names don't display in other languages  (Read 844 times)

Philippe MARTY

  • Beginner
  • *
  • Posts: 8
    • Atelier 51
Category and product names don't display in other languages
« on: December 02, 2019, 11:28:32 am »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27601
  • Always on vacation
    • Jenkin Hill Internet
Re: Category and product names don't display in other languages
« Reply #1 on: December 02, 2019, 12:33:56 pm »
Which VirtueMart version is this?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Category and product names don't display in other languages
« Reply #2 on: December 02, 2019, 12:57:14 pm »
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

  • Beginner
  • *
  • Posts: 8
    • Atelier 51
Re: Category and product names don't display in other languages
« Reply #3 on: December 03, 2019, 13:08:38 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9244
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Category and product names don't display in other languages
« Reply #4 on: December 03, 2019, 22:12:12 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Philippe MARTY

  • Beginner
  • *
  • Posts: 8
    • Atelier 51
Re: Category and product names don't display in other languages
« Reply #5 on: December 03, 2019, 23:24:14 pm »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Category and product names don't display in other languages
« Reply #6 on: December 04, 2019, 10:10:35 am »
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

  • Beginner
  • *
  • Posts: 8
    • Atelier 51
Re: Category and product names don't display in other languages
« Reply #7 on: December 04, 2019, 10:28:18 am »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2472
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Category and product names don't display in other languages
« Reply #8 on: December 04, 2019, 11:42:46 am »
You have language files not loaded for regularlabs, advancedmodule and yootheme. Maybe a place to start?

Jörgen @ kreativ fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Category and product names don't display in other languages
« Reply #9 on: December 04, 2019, 13:44:37 pm »
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

  • Beginner
  • *
  • Posts: 8
    • Atelier 51
Re: Category and product names don't display in other languages
« Reply #10 on: December 04, 2019, 15:52:52 pm »
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1390
Re: Category and product names don't display in other languages
« Reply #11 on: December 04, 2019, 16:02:45 pm »
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

  • Beginner
  • *
  • Posts: 8
    • Atelier 51
Re: Category and product names don't display in other languages
« Reply #12 on: December 04, 2019, 17:57:08 pm »
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