[Resolved] Translated page overwritten with default on every change
This thread is resolved. Here is a description of the problem and solution.
Problem: Client was experiencing an issue with Bricks theme (with built-in page builder) where changes made to the original page in English were causing the translated Dutch page to display English text, it's likely due to misconfigured custom fields, custom post types (CPTs), and taxonomies.
Solution: We recommend checking the configuration of your custom fields, CPTs, and taxonomies in WPML -> Settings. Here are the steps to resolve the issue: 1. Navigate to WPML -> Settings and locate the Custom Fields Translation section. Make sure to click on 'show system fields' to find the following fields:
Set these fields to 'Don't translate'. 2. For CPTs, ensure that 'Custom Fonts (bricks_fonts)' and 'My Templates (bricks_template)' are not set to 'Translatable - use translation if available or fallback to default language'. 3. For Taxonomies, check that 'Template Tag (template_tag)' and 'Template Bundle (template_bundle)' are not set to 'Translatable - use translation if available or fallback to default language'. After setting these to their base values (don't translate / not translatable) and saving, make a minor edit to your page in the default language and update the translation. This should resolve the issue.
Hello, every time I change something on the original page (on English), translated page (Dutch) is showing as one with English text. How can I fix that? hidden link
Reference to our recent chat, I am working on it and 'll get back to you accordingly. Please keep fresh backup of the site, as well as, keep the access open you provided during the chat.
I was able to reproduce the issue and found the reason behind it. The issue is happening with only the pages using Bricks page builder. I tried without the builder also and it worked fine.
Since this is a live site and it isn't encouraged to do in-depth testing/debugging here - I need to reproduce the issue in a fresh and separate test site. For this I need your permission to copy theme and related plugins to my sandbox.
I tried to reproduce the issue in my fresh sandbox site (hidden link) but looks like it is working fine there.
See hidden link and hidden link. You can use the above mentioned link to login to the site, then edit the page in English (hidden link) using Bricks and save and return to WordPress. Then check the Dutch version without updating the translation. And see it does not get overwritten with English (default).
Or you can try to reproduce the issue, so we can see if I haven't missed anything. Please write the steps in detail or record the screen in this case.
If you're not able to reproduce the issue, then try following:
IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.
- Update WPML plugins to the latest version. There are new versions release last week. And recheck if this helps fixing the problem.
If not:
- Deactivate all plugins except WPML, WPML String Translation and check for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any.
Please let me know and I'll try my best to help you further on the matter.
Thank you for the video, I know that issue happens in your site as I've checked there already.
I meant to reproduce the problem in my sandbox site (as per my previous message). Because there I can't reproduce this problem.
However, looks like the steps are the same as per your video - I've tried in my sandbox too.
This means the issue is specific to your site (a conflict or database problem). I'll recommend trying these steps as I mentioned in my previous message:
IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.
- Update WPML plugins to the latest version. There are new versions release last week. And recheck if this helps fixing the problem.
If not:
- Deactivate all plugins except WPML, WPML String Translation and check for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any.
Please let me know and I'll try my best to help you further on the matter.