Skip Navigation

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

Problem:
You are trying to translate a manually added button in the Divi Global Header using WPML, but the translation does not take effect. The button text 'Book Demo' remains the same in both English and German headers, despite having a string translation available.

Solution:
Since the global header was created in English (secondary language), it was not possible to translate automatically. Because WPML, so far, only supports auto-translation from Primary language to the Secondary language. And English was the secondary language in the site, so can't be translated automatically from English to German.

1. Turn off the automatic translation temporarily.
2. Add yourself as a translator in WPML under 'Translation Management' -> 'Translators'.
3. In WPML -> Translation Management, search for the content in 'EN'.
4. Select the 'Global Header Template' and add it to the translation basket (choose 'Translate myself').
5. From Translations, click the 'Translate' button and in the Advanced Translation Editor (ATE), manually translate 'Book Demo' to 'Demo buchen'.
6. Complete the translation and check the changes on your site.
7. Turn on the automatic translation after completing these steps.

If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 further assistance is needed, please open a new support ticket at WPML support forum.

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 0 replies, has 0 voices.

Last updated by Waqas Bin Hasan 1 week ago.

Assisted by: Waqas Bin Hasan.

Author Posts
January 21, 2025 at 10:41 am #16617648

michaelG-25

Background of the issue:
I am trying to translate a button I added manually to the Divi Header on my site hidden link using WPML. The button text 'Book Demo' is repeated in another button on the main page, and there is a string translation of 'Book Demo' to 'Demo buchen'. The button is not contained in the menu because I created the website with the Divi Builder and couldn't add a button in the menu that is styled differently than the rest of its content.

Symptoms:
Translation issue with button in Divi header. The translation doesn't take effect in the header-button. I expected to see 'Book Demo' in the English header and 'Demo buchen' in the German header, but I got 'Book Demo' in both languages.

Questions:
Why is the translation not applied to the header button?
How can I ensure the header button text is translated correctly?...

January 21, 2025 at 11:44 am #16618154

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Hi,

Reference to our recent chat, looks like the "Global header" hasn't been translated. I checked further and since it was created in English (secondary) language, it can be translated automatically.

I also had to close my browser for some reason and since login information wasn't saved, I've lost the login information.

Please go to Users and set a password for my user and then provide me access to check further.

Your next answer will be private, to share this information safely.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

P.S.: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.

Regards.

January 21, 2025 at 12:46 pm #16618548

michaelG-25

I reset the password.

January 21, 2025 at 2:13 pm #16619209

michaelG-25

Hi, did it work?

January 22, 2025 at 5:43 am #16621058

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for the reset link, I've created new password and was able to login.

I am working on this and 'll get back to you as soon as I find something or have a solution.

January 22, 2025 at 10:20 am #16622085

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for your patience and cooperation.

I was able to fix the issue by following these steps:

- Since the global header was created in English, it was not possible to translate automatically. Because WPML, so far, only supports auto-translation from Primary language to the Secondary language. And English is the secondary language in your site, so can't be translated from English to German.
- So I turned off the automatic translation temporarily.
- Added myself as translator in the site (WPML -> Translation management -> Translators).
- In WPML -> Translation Management, searched for the content in "EN" (see attached).
- Selected the "Global Header Template" and added to translation basket (Translate myself).
- From Translations, clicked the "Translate" button and in ATE, translated the "Book Now".
- Completed the translation and it is now working fine (see attached or hidden link).

I've turned on the automatic translation after that.

tm.jpg
book demo.jpg