url when changing language

  • Posts: 164
  • Thank you received: 6
  • Hikashop Business
5 years 9 months ago #307131

-- url of the page with the problem -- : www.121time.com/gift
-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.6
-- PHP version -- : 7.3.5

Good day!

On my gift certificate page I have the main url that is www.121time.com/gift
In french it should be: www.121time.com/fr/bon-cadeau
And in German www.121time.com/de/gutschein

The urls are correct when I start from the home page in any language and click on the menu
But once on the gift page, when I switch the language (using Falang), the new url is in german and french:

www.121time.com/de/gutschein/product/listing?start=2478
www.121time.com/gift/product/listing?start=1410
www.121time.com/gift/product/listing?start=456
when I go back to english

Would you have an idea?
I use JCH optimize but even if I deactivate it I have the same behaviour
Thank you for our help!
Jean-Loup

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

  • Posts: 83483
  • Thank you received: 13505
  • MODERATOR
5 years 9 months ago #307149

Hi,

I don't think that it's linked to HikaShop.

First, you say that you use Falang, but the language module switcher on your link looks like Joomla's module, not Falang's. So please check on that. If you use Falang, you want to use Falang's module.

Second, there are two ways to translate the menu items:
1. You have one menu item, and you use Falang's translation interface to change the text of the menu item for the different languages.
2. You have one menu item per language, and you link them together:
docs.joomla.org/J3.x:Setup_a_Multilingual_Site/Creating_menus

I don't know which method you used, nor do I know which method Falang recommends. You could try switching the method you use, but I would first recommend to check with Falang's support. They might be able to provide a better help than us on this as this issue looks like something Joomla menu items and Falang.

The following user(s) said Thank You: jean-loup

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

Time to create page: 0.045 seconds
Powered by Kunena Forum