Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
After deleting text from the original language (English), the text still shows on the translated page (Spanish). Can you please advise how to automatically delete text found in this section for the translation if it has been deleted in the original language?
Solution:
https://wpml.org/forums/topic/split-changed-the-url-in-english-but-i-still-see-the-old-url-permalink-in-spanish/#post-13549379

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 6 replies, has 2 voices.

Last updated by dennisR-14 1 year, 7 months ago.

Assisted by: Mateus Getulio.

Author Posts
April 26, 2023 at 1:00 pm #13541329

dennisR-14

Hi Mateus,

After deleting text from the original language (English), the text still shows on the translated page (Spanish). Can you please advise how to automatically delete text found in this section for the translation if it has been deleted in the original language?

hidden link
hidden link

Thank you in advance.

April 26, 2023 at 1:48 pm #13541643

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

I have escalated this ticket to our 2nd tier of support where our 2nd tier specialists will take a deeper look at this issue and will try to find a solution.

I will get back to you as soon as I get an answer from them.

Best regards,
Mateus

April 27, 2023 at 11:55 am #13549379

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello again,

Thanks for your patience.

As a workaround, we can add a HTML entity for blank space

 

to the post description, in the 'Text' tab, like we did here: hidden link

Screenshot: hidden link

Then, by updating the translation with ATE, the description will be blank as well. Could you please give it a try and let us know about your results? Thanks!

April 27, 2023 at 12:13 pm #13549499

dennisR-14

Hi Mateus,

Yes, I can see it works for this property, but this is not really a client-friendly solution for our client. Honestly speaking, our client is not an IT-wizard so I don't know how to do this each time she deletes a complete paragraph. Is there not any other automated solution?

April 27, 2023 at 8:29 pm #13553229

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Instead of deleting the entire description, you can ask her to select it and just replace with the entity mentioned above. The only thing you must advise her is that it should be inserted in the 'text' tab, not in the 'visual' one.

This is the best workaround we can offer, I'm afraid (or remove the description manually from the translated post Edit screen). When there is no content in the classic editor, the original content is not searched and replaced with translation. Therefore, no updates to the translated content is made, and that's why old content stays as it is.

Please let me know if this explanation is clear to you and solves the question.

Thanks,
Mateus.

April 27, 2023 at 9:12 pm #13553361

dennisR-14

OK, I guess this is the only solution then. I will advise our client accordingly.

April 27, 2023 at 9:13 pm #13553363

dennisR-14

My issue is partly resolved now. Thank you!