Skip Navigation

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.

Tagged: 

This topic contains 9 replies, has 2 voices.

Last updated by Dražen 1 year, 7 months ago.

Assisted by: Dražen.

Author Posts
October 26, 2023 at 3:25 pm #14672145

majaR

Hello, this issue is to continue the issue we had in the past with the agrotiga page.

Here is my first report: #14574693

We had issues that every time that we have changed something on spanish (original) page all catalan page (translated manually as per our solution the other day) gets rewriten again back to spanish.

Today we added one more product on the original (spanish) page, it is a small change) and when we saved it, the translation of the page which was before in catalan (done manually) for some reason switched back to Spanish.

See configuration (It is put manual) Are we missing something?

Can you please let us know, how to solve this. We don't want any automatic translations as we have lost our work so many times. We prefer to add change in Spanish and then manually add it in Catalan too. Meaning, whatever changes we do in Spanish (original site) it should not reflect in Catalan unless we do it manually.

Can you help?

Thanks
Maja

Capture.JPG
October 27, 2023 at 11:54 am #14678421

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Maja,

yes, that should be correct if on Catal you have also selected to translate independently and the page is not a duplicate.

The only other thing that I can think of is that there is some still data in DB causing and connecting pages as duplicates.

Please make a backup before proceeding.

FIX
To fix this, we just need to edit the database and remove the entry for your POST (POST ID) in the wp_postmeta table with the key “_icl_lang_duplicate_of”.

Go to your post meta table and find key _icl_lang_duplicate_of with your post ID, and delete it.

Then please check if the issue still happens, it should work fine now.

You can also delete all _icl_lang_duplicate_of keys if you wish.

Please let me know how it goes and if you need my help.

Thanks,
Drazen

October 27, 2023 at 12:40 pm #14678981

majaR

Hi Dražen, thanks for the support.

Sorry I am not very familiar with postmeta table? Where do I find those?

On our host? (Hostinger) or within your plugin?

Thanks
Maja

October 27, 2023 at 12:47 pm #14679355

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Maja,

you should go to your hosting cpanel and access the database, usually phpMyAdmin, from there you will see your database and the tables that it has, one of them being postmeta.

Inside search for that key and value.

Related docs: hidden link

Let me know how it goes and if you need help.

Regards,
Drazen

October 29, 2023 at 12:36 pm #14686435

majaR

Hello,

Thanks for your help. I have tried to find the issue, thus I cannot find the key that your were saying.

Check the screen bellow.

What am I missing?

Capture.JPG
October 30, 2023 at 7:53 am #14688767

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Maja,

please check next video and let me know fi that helps.

Video: hidden link

If there is no value for that key, that means there are no pages in this state and that is probably not what caused the issue and might be on that page you have not had WordPress editor set as in your first image shared but WPML editor and that caused the issue.

Let me know how it goes.
Drazen

October 30, 2023 at 10:44 am #14690103

majaR

Hi Dražen, thanks for the support and efforts.

We have done the same steps. I tried to filter by the same key like you did and I have also tried to filter by post ID, but in my case nothing appears with that key and by post ID I see only the ones from previous screen.

Is there a chance I share with you the access to hostinger and would you be able to check it? Maybe I have missed something.

Sorry for the inconvenience and huge thanks for your support!

Maja

October 30, 2023 at 10:48 am #14690123

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Maja,

sure, but I would first ask you to check if the issue still happens. If you have enabled the WordPress editor for that page and there is no leftover in the database, the issue should not happen, and I am pretty sure it will not.

If it does, then please share more info (image, video) of your steps and what goes wrong, so I can understand it better.

Thanks,
Drazen

October 30, 2023 at 11:11 am #14690417

majaR

Hi Dražen, you are right. For some reason now it seems to work. So with changes in the original page it doesn't change the translation at all, which is great. Thanks!

Can we leave this open for a few days, so I can do few more tests with similar pages and confirm if it is really solved as I didn't do anything in the db 🙂

Thanks!

October 30, 2023 at 2:23 pm #14692825

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for getting back, glad to hear it works fine now.

Sure, take your time, and let me know if you still need our help.

Regards,
Drazen

November 1, 2023 at 5:21 pm #14709377

majaR

Thank you! Everything solved!