[Resolved] Global header went back to root language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the phone number in the DIVI Global Header was displaying in German across all languages, despite previous correct settings. The section to edit this header was also not visible. Solution: We advised the client to check under DIVI Layouts where multiple Global Sections (Menü 1, Menü 2, and Menü 3) might be overwriting the header settings. By opening these sections and searching for the phone number, the client was able to locate and correct the numbers. Additionally, to allow translating numerical values such as phone numbers, we provided a code snippet to be added to the theme's functions.php file:
After adding this code, the client should resave the primary language page so the Advanced Translation Editor can rescan and show the numbers for translation.
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 issues persist, please open a new support ticket.
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.
Thanks for your patience. I cannot find a solution for this and I will escalate this to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.
Thanks for your patience. I’ve escalated this to our 2nd Tier Support team, and they’re still actively reviewing the issue.
In the meantime, they took a quick look at your database and noticed a few inconsistencies that might be contributing to the problem:
-Some entries appear to be header layouts, while others are standard page layouts.
-There’s a mix of URLs from both your staging and live (production) environments.
-The production site also seems to be using different domains for each language.
These inconsistencies suggest that a "search and replace" might have been done incorrectly during a migration or setup process. This could be causing confusion in how your site loads certain content.
We’ll keep you updated as soon as we have more information from our 2nd Tier Support team. Please feel free to share any additional context that might help in the meantime.
The addressed topics are very interesting and please let me know how can we fix them on the live website.
Meanwhile I could solve the problem with the phone numbers in the header.
Under DIVI Layouts we have 3 Global Sections (Menü 1, Menü 2 and Menü 3). These 3 sections are all part of the header and I think they overwrite what we edit in the header.
I followed your previous instructions and opened for example Menü 1 and searched for "+". All of a sudden the phone numbers appeared!
Let me know anyway how it develops further for the topics above.
Thanks for your reply. I'm not sure if I'm getting this. I've checked your menu layouts below, and are you saying that you're able to translate the header phone number when you try to translate the menu layouts?
Thanks for your reply. I have some feedback from our 2nd Tier Support, and he is puzzled by what's happening here. Let's wait for their feedback on this, and hopefully, this is not something serious.
Thanks for your patience. Our 2nd Tier Support is requesting updated credentials for your staging site. Could you create a new administrative account and share the details with us? Please do not share the token access as it will expire for a certain time or invalid when we deactivate plugins.
Thanks for your patience. I have some feedback from our 2nd Tier Support, and unfortunately, there is no workaround available. You need to open the translated header using the Divi editor and manually change the phone numbers for now.