[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.
Background of the issue:
I am trying to change the phone number in the DIVI Global Header for different languages on my WordPress site using WPML. We had previously set the correct phone numbers for each language, and it was working fine until recently. Now, the phone number in the header has reverted to German for all languages. I also cannot find where to edit this part of the header. Here is a video describing the issue: hidden link. The issue can be seen on this page: hidden link.
Symptoms:
The phone number in the DIVI Global Header appears in German for all languages, despite having been set correctly in the past. The section to edit this header is not visible.
Questions:
Why has the phone number in the header reverted to German for all languages?
How can I find and edit the part of the header where the phone number is set?
Then, resave the primary language page so that the Advanced Translation Editor can rescan the page and show the numbers for translation. Let me know if this works.
I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Thanks for your reply. You need to type some similar numbers on the Advanced Translation Editor search form as shown in the attached screenshot. Could you try?
Thanks for your reply. I can see the issue you're experiencing. Do you have a staging site I could use to investigate further? I need to deactivate some plugins to check for potential conflicts, as I'm currently having trouble reviewing the English language header at this link: hidden link
PS due to the fact that we are using root domains (hunterlab.de, hunterlab.co.uk) I also read in another WPML documentation that it's not possible to switch the DIVI builder into a foreign language (this used to work earlier as we had hunterlab.de, hunterlab.de/en, hunterlab.de/fr and so on)
Thanks for your reply. You did not share the login credentials, but instead, you shared the login token. This token is not working on the staging site and could you please check?
Thanks for your reply. I cannot find a solution for this, so I kindly ask for a snapshot of the site so that I can escalate this to our 2nd Tier Support for further investigation. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.
To guide you further, please adhere to these instructions:
1. View the Duplicator instructions video: hidden link
3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.
Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.
Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.