Skip Navigation

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.

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 1 year, 3 months ago.

Assisted by: Long Nguyen.

Author Posts
March 3, 2024 at 6:41 pm #15367185
markusL-48

Hi, I have the following questions:

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

March 4, 2024 at 3:44 am #15367473

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Markus,

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).

If you want to have a different menu label than the page title, you can edit the menu item and set the custom label. Then translate the menu to the second language manually.
Please follow the documentation https://wpml.org/documentation/getting-started-guide/translating-menus/#fully-custom-create-menus-manually

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:

define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '128M' );

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