[Resolved] Tanslation of Menu Items, HTML fields and Buttons
This thread is resolved. Here is a description of the problem and solution.
Problem: The client wants to have different menu labels than the page titles in French and German without creating custom menus.
Solution: For the first issue regarding menu translation, we recommend editing the menu item and setting a custom label, then manually translating the menu to the other languages. Follow the documentation here.
If the solution provided here is not relevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket here.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
1) In my English default site i have some pages that have longer page titles than what the page is called in the menu. Now I would like to do the same in Frech and German but I seem only to be able to change the page title and this is also taken over in the menu. Is there a way to have different page names in the menu than the title of the page without having to create complete custom menus for my languages?
2) I have some Custom HTML fields that need different HTML code depending on the language. Where can I apply these changes?
3) I have two Menu Icons as Widgets in my Header (Shopping Cart and User). I am trying to locate these in the String Translation area to change the links but am not able to find them. In my understanding they are supposed to be in domain "block-widget" but I cannot find them.
4) When change the block settings of the Language Switcher to Dropdown and Open on click, the selector does not work. When i click nothing happens. Only if the Open on click is off then it works on hovering.
5) On my pages I have several buttons with external links that need different links depending on the language. Where can I change those links?
Thank you very much for your feedback.
With my best Regards
Markus Lutz
New threads created by Long Nguyen and linked to this one are listed below:
Thank you for contacting WPML support, I’m happy to help you with this issue.
We can handle one issue per ticket only so I will split your questions into other tickets. In this ticket, I will focus on the translation menu item (first question).
While checking the debug info, I see that the WordPress Memory Limit is below the requirements. The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:
After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.
Looking forward to your reply.
Thanks
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.