Background of the issue:
I was trying to manage the admin_texts_astra-settings, but the strings got mixed again. You can see the issue on this page: hidden link.
Symptoms:
I expected to see English, but instead, I got Spanish.
Questions:
Why are the strings in admin_texts_astra-settings mixed?
How can I ensure the correct language is displayed?
FIX THIS GOD DAMN ISSUE PLEASE!!!!!!!!!
WRITING YOU SINCE MANY MONTHES ABOUT IT!!!!!
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Rome (GMT+02:00)
Hello!
I'll try to help you out while a supporter takes the case.
If your site's default language is English and has never been Spanish, then the strings should arrive in English, however the problem with this is that something made the system think that they needed to be in Spanish and when that happens, you'll always see the new ones in that language.
Changing the source language of the domain, or in this case the admin text domain (not the string, which is also found on that guide) should probably solve that problem.
Can you let me know if you already tried changing not only the strings's language but also its domain?
Does the issue occur randomly? Also, have you made any changes to the theme settings after switching to a secondary language using the Dashboard language switcher (in the top admin bar)?
It would be very helpful if you could share a screencast showing the Astra theme option strings that are causing issues now.
No it's totaly random. There is the trigger of the theme customizer but I think this was fixed in a theme update, not sure. Anyway we don't touch the theme customizer anymore now, and the issue still happen
Thank you for the updates. Based on the following screenshot, the strings are registered in English and translated into other languages as expected. This appears to be the correct behavior.
Thank you for the updates. Do you have a site backup that includes the corrupted entries of the theme option strings?
If yes, it would be great if you could restore it on a staging site. That way, we can take a closer look and troubleshoot the issue without affecting your live site.