Home›Support›English Support›[Escalated to 2nd Tier] I translated all backend fixed fields in WP Rentals Theme, but for some reason after WPML is install...
[Escalated to 2nd Tier] I translated all backend fixed fields in WP Rentals Theme, but for some reason after WPML is install...
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.
Thanks for your reply. The language file looks correct. Could you please change the strings back to the default language? Then, run the options listed below here hidden link
1. Clear the cache in WPML.
2. Remove ghost entries from the translation tables.
3. Fix element_type collation.
4. Fix WPML tables collation.
5. Set language information.
6. Fix terms count.
7. Fix post type assignment for translations.
Then, let's monitor this a couple of days to see if the issue comes back.
Thanks for your patience. Our second-tier support checked, and we still have no clue what's going on there. However, I've reset the strings using the "Reset Section" option here hidden link and the strings are still showing up fine even after a couple of days. Could you check?
Also, please install the Activity Log plugin to the site so that we might be able to catch what happens before the strings revert to Croatian, if they do.
Thanks for your patience. I have some feedback from our 2nd Tier Support and this is what we've done.
The activity log plugin captures few events, none of which look related, so it seems some request (e.g. a front end page visit) is unexpectedly causing this.
In the database I can see that the option named wprentals_admin has been updated with the Croatian texts.
So I suggest, after resetting the options page again to use the English defaults, we add a custom plugin with some code that will essentially listen for when that option is updated and will record all the relevant info about the request in the debug.log.
So, that means making sure debug mode is active in wp-config.php.
I've added this file wprentals-admin-option-logger.php into the site's wp-content/mu-plugins/ folder.
Please keep an eye on things and let us know if the options switch to Croatian again. We'll then need a copy of the debug.log.