Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language option missing from menu link options for layouts #4811

Open
jenlampton opened this issue Dec 18, 2020 · 0 comments
Open

Language option missing from menu link options for layouts #4811

jenlampton opened this issue Dec 18, 2020 · 0 comments

Comments

@jenlampton
Copy link
Member

Description of the bug

The layouts Menu UI does not provide an option for defining a language for the menu item. Once the menu item is created (via layouts) you need to use the menu UI to set the language, but that will cause the menu link provided by Layouts to be overridden.

Once a menu link is overridden, changes made in the Layout UI (like changing the Menu Link Title) will not be respected.

Layouts UI:
layout_ui

Menu UI:
menu_ui

Steps To Reproduce

To reproduce the behavior:

  1. Enable Locale module and add at least 1 additional language (example: Spanish)
  2. Create a test layout at path /test
  3. From the layouts UI, click the menu settings button for the test layout
    a. Add a normal menu entry
    b. Set the title to test one
    c. Save
  4. Visit the Menu UI and change the language for this link to Spanish
  5. From the layouts UI, click the menu settings button for the test layout again
    a. Change the menu link title to test two
    b. Save
  6. Visit any page and review the menu link

Actual behavior

test is shown

Expected behavior

test two should be shown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant