This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with a translated header appearing incorrectly on your .com/de pages, or if you're facing a 404 error after translating your main pages, we have some recommendations.
Solution: For the header translation issue: 1. Switch to the secondary language of your site from the WordPress admin. 2. Navigate to Template > Saved Templates and locate the translated header template. 3. Open the template in the WordPress editor and note the ID in the Browser URL bar. 4. Go to "WPML > String Translation" and click on "Translate texts in admin screens ยป" at the bottom. 5. Search for "wpda" and find "wpda-builder-settings". Add it to string translation. 6. In the String Translation section, click on the "+" icon under the German flag. 7. Copy the English configuration content and paste it into the German translation field, replacing the "current_header" value with the ID of the translated header.
For the 404 error on translated pages: 1. Go to "Rank Math > Redirections". 2. Remove any redirections set for the link that is causing the 404 error.
I have mistakenly translated header page, and now the header is all messed up for .com/de pages, and I can't seem to find a way to reverse it. Can you please help me out with this issue.
I understand the issue you're having and will try my best to assist you in this matter.
I would like to inform you that translating a header typically does not lead to this issue. However, upon inspecting the page, I noticed that a header built with the Theme's default Header Builder is being loaded on that page. Contrarily, when examining the default page, it appears that a different Header is in use, one that has been created using the "WP Daddy Builder PRO" plugin.
If you want the Header created using the "WP Daddy Builder Pro" to appear in other languages as well, please try the following and hopefully, it will help.
- Please switch to the secondary language of your site from WordPress admin.
- Now, go to Template > Saved Templates and locate the translated header template
- Open the template in the WordPress editor and then check the Browser URL bar. You'll find an ID associated with the "post" property(Check the attached screenshot). Copy that ID.
- Now go to "WPML > String Translation" and scroll down to the end.
- Click on the link named "Translate texts in admin screens ยป"
- On the following page, search for "wpda". In the results, you will find an option labeled "wpda-builder-settings". Select this option and click on "Add to string translation".
- Go back to the String Translation section. The string you just registered represents the configuration set by the WP Daddy plugin for the header. To ensure the translated header is displayed correctly in other languages, this configuration needs to be replicated across these languages.
To achieve this, click on the "+" icon located beneath the German flag. Then, copy the contents from the English configuration and paste them into the German language translation field, as illustrated in this screenshot: [View Screenshot](hidden link)
- Within the content, you will find a property named "current_header". Replace the value of the current header with the ID of the translated header that you copied earlier.
After making these adjustments, the translated header should appear properly in other languages of your site.
Please feel free to let me know if you encounter any difficulties or need further assistance in this matter. I will be happy to help.
Everything till the String Translation part is okay. In the string translation I do not have the "wpda-builder-settings" anywhere. I've added a picture with what I do have.
Therefore I would need a different approach or clarification of what should I do with the strigns that I do have.
Hello Marko,
Thank you for trying out the suggestion.
I would like to inform you that I experimented with the "WPDaddy Header & Footer Builder for Elementor" plugin, under the assumption that it shares similar functionality with the WPDaddy Page Builder plugin, specifically in regards to the Header Builder feature.
Considering the distinct behavior of the WP Daddy Page builder, it would be beneficial if you could reproduce the issue within our sandbox environment. Please note that the WP Daddy Page Builder is not currently included in our directory of compatible plugins. Therefore, by examining the issue in our sandbox, we can also assess its compatibility and functionality in an environment enabled with WPML.
Here's the Autologin URL to our sandbox: hidden link
The WPML and its associated add-ons are pre-installed in the Sandbox. To replicate the issue, please install the necessary Theme/plugins, particularly the WP Daddy Page builder, and any other plugins that are essential for this process.
Once installed, make the same settings as your main site, create the header, and try to recreate the issue accordingly.
Once you're able to recreate the issue on the sandbox, please let me know. I will take a closer look and guide you on what to do next.
Looking forward to your response and appreciate your kind cooperation in this matter.
Thanks for your reply. Your suggestion is very problematic from our end as we can't devote that much time to fully integrate the whole theme, create header, and everything else needed, this will take more than 10 hours from our side just to try to fix this issue.
Also, it would be unrealistic to recreate the whole site on your Sandbox environment due to sensitive data included.
Is there other approach? We can schedule a meet with you or provide you with a virtual access if you are open to it.
I have resolved the issue and I have another issue now. It is the issue of translating our main pages. We have translated the hidden link page but when we open the hidden link it redirects it to "hidden link" which is 404 page, can you please explain what is happening here?
I was in the process of drafting a response regarding the Header issue, but I've just seen your message. I'm glad to know that the Header issue has been successfully resolved! ๐
Regarding the 404 error, upon inspection, I noticed that the URL "hidden link" is configured in the "Rankmath" plugin to redirect to "hidden link". However, since the page "link-building-service-2" does not exist on your site, this is resulting in a 404 error.
Please go to "Rank Math > Redirections" and remove any redirections set for this link: hidden link. The issue will be resolved right after that.
Feel free to let me know if you need further assistance in this matter. I will be happy to help.