Translation not showing?

  • Posts: 47
  • Thank you received: 3
  • Hikashop Business
2 weeks 6 days ago #368573

-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.3.3
-- PHP version -- : 8.3.24

Hi,

I'm migrating a website from joomla 4 to joomla 5. The website used Falang for multi language pages but I want to remove Falang and use native joomla functionality). So I deinstalled Falang. In hikashop the mulit language option is set to yes. The products and categories have translated titles and content. But on the frontend I only see the dutch titles and content (default language is dutch). See screenshots of the same product on a dutch and an english page. Everything is translated as it should be (like add to cart button, and the cart module in the header)/ But the content and title stay in dutch. I also include some screenshots of the product in the backend so you can see that there is english content.

What am I missing here?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84497
  • Thank you received: 13739
  • MODERATOR
2 weeks 6 days ago #368577

Hi,

With Falang, the translations are stored in the falang_content table in the database.
HikaShop bases itself on that information to store and load the translations of the elements in the backend, either in that table, or in the language override file of Joomla.
On the frontend, Falang uses a plugin to dynamically load the translations.
So, if you go in your PHPMyAdmin and rename the falang_content table, it will force HikaShop to use the language override file of Joomla to load and store the translations, and it will work on the frontend.
The downside, is that you'll have to redo your translations as there is no mechanism to migrate the translation data from Falang to the Joomla language override file.

Please Log in or Create an account to join the conversation.

  • Posts: 47
  • Thank you received: 3
  • Hikashop Business
2 weeks 5 days ago #368613

Ouch. That was not what I wanted to hear. Would it be possible to use falang only for the hikashop pages?
And rename the falang_content table > what should be the name of the table?

Please Log in or Create an account to join the conversation.

  • Posts: 84497
  • Thank you received: 13739
  • MODERATOR
2 weeks 5 days ago #368616

Hi,

1. Falang uses a system plugin which hooks up to the MySQL queries driver mechanism of Joomla. With this, it reads all the MySQL queries and when something matches with a content element it supports, it will run another query to look for the translations and dynamically replace the text on the frontend.
So, in the Falang backend interface, if you go to the "Content elements" menu of Falang, you can see all the content elements it supports. There, you can select the ones you don't want Falang to take into account and delete them.
The less content elements you have in Falang, the less queries it will have to process. If you only need it for a few content elements in HikaShop, you can delete all the other ones and it will drastically help reduce the toll of using Falang on your pages speed.

2. You can rename it to whatever you want. The goal is for HikaShop to not find it anymore. So for example falang_content_backup

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum