Custom menu items not showing correctly
-
Hello,
I use FaLang with YOOtheme for English and German language and I do encounter two problems with menu items consisting of custom links. I do have one menu item “About Me”.- Problem: Translated title is not shown in German menu
I translated “About Me” to “Über mich” and published it but in the German menu it still shows “About Me” instead of “Über mich” although the value seems to be saved correctly. - Problem: German URL is not saved
“About me” should lead to an anchor on the start page “/#aboutme”. So, from the German menu it shoud lead to “/de/#aboutme” . When I change the URL accordingly it’s not saved and still the default link is displayed.
How can I solve this problem? Thank you and best
- Problem: Translated title is not shown in German menu
-
- Translate menu
Did you translate the post title , It’s probably the post title use for the menu and not the menu item directly
2. German url not saved.
It’s something i have to put in the default configuration. you have to open the Falang > Settings > Translate Options > Navigation Menu Item click on options
in the popup check if you have “_menu_item_url” enabled.
Stéphane
Ps: the first question is more a Falang for Yootheme question
Thank you for the fast reply.
- I translated the title of the menu item, exactly as I did for other menu items. For menu items which are of type “page” it works but for menu items which are of type “custom link” it doesn’t work. The field I used is called “title”.
- Yes, that was it. Thanks a lot for this! 🙂 My suggestion would be to show at least an info box when a user tries to save the value which states that this option needs to be enabled first.
- I test it locally and i don’t have problem
1 have created a menu item custom link “Custom menu EN” to a wp page (gutenberg), i translate this menu item “Custom Menu FR”, see here
https://snipboard.io/SQDYPW.jpg
I translate the page “TEST EN” to “TEST FR”, i put inthe translation of the menu the french page link
The menu item is translated correctly
result : https://snipboard.io/gLD6Wx.jpg
Stéphane
- the next version will have a message
https://snipboard.io/8woBy2.jpg
the message is : _menu_item_url need to be enabled in the Falang > Settings > Translate Options > Navigation Menu Items > Options to save Custom URL
Hi,
The new Falang version is released . a message is added to give info if the setting is not set correctly
The topic ‘Custom menu items not showing correctly’ is closed to new replies.