Home›Support›English Support›[Resolved] Button (header) and HTML1+2 fields (footer) Astra theme keeps changing language
[Resolved] Button (header) and HTML1+2 fields (footer) Astra theme keeps changing language
This thread is resolved. Here is a description of the problem and solution.
Problem: You are using the Astra theme and experiencing issues where multiple fields, including a button in the header and HTML fields in the footer, change languages unexpectedly. Even after disabling plugins and caching, the issue persists, and changes are overwritten when you publish them in the Astra footer builder. Solution: We tested your site by deploying it to a local environment without disabling any plugins, and the issue did not occur, which suggests a potential caching problem. Although you mentioned disabling caching, it's possible that server-level caching might still be active. We recommend checking with your hosting provider to ensure all forms of caching are thoroughly disabled. If the problem continues, it might be due to an outdated solution or a different issue not covered here. 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 these steps do not resolve the issue, please open a new support ticket at WPML support forum for further assistance.
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'm using the Astra theme for my website. After a few months, I noticed that multiple fields changed into another language. The button in the header became English on the Dutch default homepage. The HTML1 and HTML2 fields in the footer became Italian. When I changed the HTML fields in the Astra footer builder and published the changes, it replaced my changes again with another language. I disabled all the plugins and also the caching plugin, without success. Can someone help me? Link to a page where the issue can be seen: hidden link
Symptoms:
The button in the header and HTML1+2 fields in the footer keep changing language unexpectedly. When I change the content, changes are overwritten when pushing the Publish button in the Customize section of Astra.
Questions:
Why do the button and HTML fields change language unexpectedly?
How can I prevent changes from being overwritten when publishing?
I replaced the contents of line 241 and changed the HTML blocks of the footer back into 'Dutch' in the Astra theme Customize section (footer). After 'Publishing' the changes, I went back to a browser (cache cleaned) and saw none of my changes. The blocks were now in French :(.
I can provide access to the WordPress in order to investigate the issue.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
It seems to be working in the sandbox, can you confirm? Whichever change I made it works.
That being said, can you please check if this issue appears on your website when only WPML plugins are activated, as it will tell us if there is an interaction issue with other plugin?
If still not working, to troubleshoot this problem, I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size. You can find more information about the process here: [link](https://wpml.org/faq/provide-supporters-copy-site/). Please confirm if this approach is acceptable to you.
And to confirm once again, if I change this to "Reserveren", save and then reload the screen, I will see the French version again? This is the issue we need to investigate?
Hi, sorry for the delay. I was on a holiday.
I modified again the html1 and html2 section in the footer.
HTML2: Notre équipe2 (with 2 at the end)
HTML1: Rondleidingen (as first item).
I see the changes in the footer after Publishing in Astra Customizer.
I will check back tomorrow to see it is back the initial FR section.
Then I will disable the plugins and test again.
I become completely 'loco' from this issue.
I changed the button in the header to 'Reserveren' (Dutch). I published. But the HTML1 and HTML2 were then back in French.
The problem is that there is no logic in the issue. Sometimes it changes after Publishing the modifications, sometimes the new values stay (for a while).
I have no idea why the French values of these 3 fields (button + HTML1 + HTML2) always come back.
Do not hesitate to modify the values of these fields in the production website. At this moment the FR is visual on the Dutch page, so it is not ok and can be modified.
The site modules are up to date. You can duplicate to another environment.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
I deployed the site to my localhost and apart from that did not change anything (like disabling plugins).
And it works for all the elements: hidden link
This indicates caching issue perhaps? I see you mentioned you disabled caching while testing, what about server level caching, can you check this with your hosting support perhaps?