Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wants to translate the strings from menus and the popup was not working in a secondary language.

Solution:
I have followed the below steps:

- Went to Appearance >> Menus page.
- Selected the Header top new menu.
- Enabled the CSS Classes option from Screen options.
- Added the “ld-button” class that was added in the default language menu.
- Saved the menu.

And now the popup is showing correctly.

Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/translating-menus/

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.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by muhammad-sohailR-2 1 year, 9 months ago.

Assisted by: Noman.

Author Posts
February 28, 2023 at 12:50 pm

muhammad-sohailR-2

I need bit help again related to xml string to change as wpml

February 28, 2023 at 2:45 pm
February 28, 2023 at 2:48 pm #13136861

muhammad-sohailR-2

I can see button is showing translated and working with popup but translation is wrong and I'm still need to know where I can change translations...Right it is showing "Accedi" but the correct translation is "Accedi / Registrati"

February 28, 2023 at 2:53 pm #13136867

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I have followed the below steps in order to fix the popup issue:

- Went to Appearance >> Menus page.
- Selected the Header top new menu.
- Enabled the CSS Classes option from Screen options as you can see in the attached screenshot.
- Added the “ld-button” class.
- Saved the menu.

And now the popup is showing correctly.

You can translate the menus by following the below doc:
https://wpml.org/documentation/getting-started-guide/translating-menus/

If still the issue persists, please try removing the “ld-button” class selector from the menu item and see if it causes this issue.

Thank you

screen options.png