Hello,
I'm not sure it this is a language.module or a menu.module issue. However, I am having an issue with a bilingual menu tab. The steps I took are:
1. Created a basic page in English (default language) and then translated it into French.
2. Added the page to the main menu in English by going to 'structure - menus - main navigation - add link'. I then add the title for the menu tab and add the URL.
3. I then translate the menu tab and add the French tab title and the corresponding French URL in the translation interface.
4. I click save.
The problem is that when I have done that, I go to the English part of the site and click on my English tab that I just created, the site goes to the French URL and the page content displays:
Page not found
The requested page could not be found.
This, even though I have specified the English URL for the English tab and the same for the French. I have rechecked this about 10 times, even deleted the offending page and recreated it along with the menu tabs for both languages and it keeps on happening. This is happening on all my menus. The translations are getting switched to the corresponding other language.
E.g. Tab title in English 'store' switches to the French url .../fr/boutique and the French menu tab path gets switched to the English url .../store
Essentially, the system is switching the languages by itself after I have set up the menus.
Does anyone know why this might be?
Thank you.
M
Comments
Comment #2
lilbebel CreditAttribution: lilbebel commentedComment #3
lilbebel CreditAttribution: lilbebel commentedComment #5
matsbla CreditAttribution: matsbla commentedDid you check if all your translated labels have been set to published?
Comment #13
pameeela CreditAttribution: pameeela commentedThanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.
As part of the Bug Smash Initiative, we are triaging Drupal core issues with the priority 'Major'.
I've tried to reproduce this in vanilla Drupal using the steps provided, but the menu works as expected.
I am change this to a support request as it seems to be unique to your site rather than a bug in Drupal. This Stack Overflow answer contains a number of suggestions to debug a similar problem.
If you are no longer having this issue, please close this issue and if possible, leave a comment describing how you fixed it, as it may help others with the same issue.
Comment #14
roi CreditAttribution: roi commentedMulti language has problems, see for example
https://www.drupal.org/project/drupal/issues/3152401
which is still blocking me from working properly.
Comment #15
pameeela CreditAttribution: pameeela commentedComment #17
quietone CreditAttribution: quietone as a volunteer commentedSince we need more information to move forward with this issue, I am setting the status to Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Comment #20
cilefen CreditAttribution: cilefen at Institute for Advanced Study commentedI am closing this support request because there have been no recent comments.