We have implemented the constant defined on UAT as true but yet, translating strings doesn’t reflect the translated strings for the translated language.
The Troubleshoot page has been accessed, WPML caches have been cleared. To no avail. I wonder if there are any technical limitations at "our" end with the fact that the website is setup on an Elastic Beanstalk environment and there’s a WAF, etc.
We understand that WPML_ST_SYNC_TRANSLATION_FILES I would say is the right solution - it makes WPML keep the generated files in sync with the DB entries. Adds an additional query on requests for translated strings, and causes regenerations where necessary, but should be much faster than touching hundreds of files on a network drive.
Thank you for providing the code. I could not delve into the whole thing but it seems it uses the standard WordPress text domain method to provide the text and a way to translate them.
What I now ask is to make sure you ask WPML to scan the theme.
- Go to WordPress Dashboard > WPML > Theme and Plugins Localization.
- Select the transportforireland theme and click the Scan button.
- A pop up will show, wait for the process to finish.
After that pelase search for the text in WOrdPress Dashboard > WPML > String Translation.
If the result is still showing the original language instead of the translated one, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
I've needed to check with the wider team and we won't be able to give you access/a login to the environment(s) due to security controls.
Is there any other way for you to check, or guide us on what you're looking for? We have a dev team that would be able to check/do the work if there was some guidance on what you might be looking for.
Alternatively, we could set up a screenshare and go through admin with you if that works?
You can also create a minimal staging version of the website that your development team will remove sensitive content, then you can share the info with that version so we can continue the investigation.
In general the doc I shared is what I would need to test and also these methods:
You can also create a minimal staging version of the website that your development team will remove sensitive content, then you can share the info with that version so we can continue the investigation.
In general the doc I shared is what I would need to test and also these methods: