Home›Support›English Support›[Resolved] When updating main language pages, oxygen overwrite the translated page
[Resolved] When updating main language pages, oxygen overwrite the translated page
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where saving a page in Oxygen Builder on the main English domain (.com) causes the content on the translated Swedish page on a separate domain (.se) to be erased. This problem seems to be related to the WordPress Address (URL) configuration and occurs across multiple pages, not just a specific one. Solution: 1. We confirmed that the issue should not occur if the pages are translated separately using the WordPress editor, as each translation should be a separate page. 2. We identified that the custom fields
ct_builder_json
and
ct_builder_shortcodes
might not be working correctly on the translated pages. 3. We suggested copying the content of these fields from the English to the Swedish page to fix the issue on a specific page ('bradhantering'). 4. As an alternative, we suggested deleting the translation page, duplicating it from the original, and re-translating to ensure the correct field structure. If this solution does not seem relevant to your situation, please open a new support ticket with us.
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.
So, I have oxygen and wpml installed, earlier you've encounted oxygen shortcodes; oxygen are now using json instead.
I use different domains for different languages. So two domains, the main language is english tld.com and the secondary language is swedish tld.se
When I hit the save button at any english webpage in oxygenbuilder (e.g. frontpage) it will erase the content from the translated swedish frontpage.
My work-around currently is to save the JSON of the swedish page before updating the english page.
I've noticed that the WordPress Address (URL) at /wp-admin/options-general.php
is different from time to time. It seems that the system works well if the wordpress address URL is showing the same for both languages instead of different
Example:
English version of the options-general page .com
Swedish version of the options-general page .com
instead of
.com
.se
I translate with the classical translation system and I do it separately !
Are you saying that I can't use the oxygen builder to make adjustments? Because that used to work before!
I might need to discuss this with the oxygen team... But it could be a good idea to keep this wpml support ticket open so we have some sort of transcript of the problem and some potential fixes!
If it does not help, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.
For some reason that particular page works... I did however make an update on the Boardsorting and the issue was replicated right away!
So you can see the issue on the swedish boardsorting page, and you can try to replicate the issue on your own at the sawline page if you want (I'm quite certain the issue will be replicated on that page aswell)
Also, please don't upload photos showing the brand of the website here, the customer doesn't like that 🙂
Yes, so, now that you've done that, if you try to edit the swedish versions of those pages you will see that there's nothing there, they are totally blank and have to be remade! The front end still show properly, but the backend (oxygenbuilder) is blank.
PS: You still kept the name of the brand in your last post! Sorry to nag about that, but they don't want their name showing in the "wrong" places. I really appreciate the help 🙂
This is so weird! Please check the /bradhantering/ page to understand the issue... The page exist on the front end, but the backend json code has been removed (and is restoreable on a revision)
For some reason, when You edit pages, it seems to work. Maybe it's because you access the site properly and haven't clicked around on it? Maybe the issue occurs if you try to log in at the .se domain instead?
It looks like a specific issue with the page "bradhantering" only. The custom field content "ct_builder_json" and "ct_builder_shortcodes" of the translation page "bradhantering" is not working correctly. I've copied the field content of the page from English to Swedish to fix the issue.
Now you can edit the page in Swedish and re-translate the content as well.
The thing is, this problem is not a one-time thing, it has happened several time on all pages... The big question is why the english page affects the swedish page? Should they not be totally seperate?
I can assure you that the problem is not on a specific page. I've just had bad luck with showing the problem to you.
At one point, I adjusted about 4-5 english pages, and saw that the swedish pages had nothing in the oxygen builder. The JSON simply became invalid after me adjusting the english versions...