Skip Navigation

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

Problem:
The client was unable to automatically translate the content of the "Privacy Policy" page using WPML's "Translate Everything Automatically" feature. While the page title and permalink were translated, the content remained in the original language despite attempts to re-translate or delete and update the translations.

Solution:
1) We verified that the client should be listed as a translator in WPML > Translation Management > Translators, even if they are an admin, to ensure proper permissions for translation tasks.

2) We identified that the page had previously been translated using Gutenberg, which created a string package in WPML > Packages. Since the client was no longer using Gutenberg, this caused the system to copy content instead of translating it.

3) To resolve the issue, we navigated to WPML > Packages, located the package for the "Privacy Policy" page (which had an ID value of "3"), and deleted it. Afterward, we re-translated the page using the Advanced Translation Editor without using any additional credits, as the content had already been translated.

4) We explained that a string package with a name like [page builder name]-strings-[page id] indicates a page has been translated with a page builder, which in this case was Gutenberg. The issue likely occurred before the client installed the "classic editor" plugin.

If you're experiencing a similar issue, we recommend checking if you are listed as a translator and looking for any string packages related to page builders in WPML > Packages. If you find any, delete them and attempt to re-translate the page.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket.

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 Alejandro 7 months, 3 weeks ago.

Assisted by: Alejandro.

Author Posts
March 22, 2024 at 6:26 am #15438804

aigarsM

Hi,

I have enabled "Translate Everything Automatically." Generally, it works, but for some reason, it refuses to translate the "Privacy Policy" page.

I have tried:
1) WPML -> "Translation Management" -> "Privacy Policy" page -> All Languages -> Translate automatically. WPML processes the page and re-translates it, but all translated pages' content remains in the original language.
2) Deleting the translated pages permanently and updating the original language. Same as before - WPML processes the page and re-translates it, but all translated pages' content remains in the original language.

In both scenarios, WPML translates the page title and permalink but refuses to translate the page's content.

Here is a video showing how I try to make WPML auto-translate the pages but fail -hidden link

March 22, 2024 at 7:37 am #15438874

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

I checked the different translations for that page and they appear correctly translated in our editor, which indicates the problem is happening on the website itself.

Could you go to WPML > Support > Advanced Translation Editor > error log and send me the first 3 entries there (a screenshot of them would be fine).

Then, can you tell me if you use a page builder or anything that could or would modify the privacy policy? (Plugins, Gutenberg, etc)

March 22, 2024 at 1:29 pm #15440759

aigarsM

I have attached an image of the last three error logs. The most recent error appears to be from 2024/02/27, which suggests to me that WPML does not log our current error.

My site does not use any page builders, nor does it have any plugins that edit the privacy policy page. Additionally, the page uses the default template. It's also worth noting that other pages using the same template, like the Terms of Use (hidden link), are being translated.

mixmax-wpml-error-log.jpg
March 22, 2024 at 1:31 pm #15440806

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

ok, then would you allow me to access your site? i won't really do much, just check the privacy page to understand why it's not working correctly.

I have enabled the related fields so you can add the credentials securely and privately.

Regards.

March 25, 2024 at 8:17 am #15445040

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello!

1) I accessed your site and checked the WPML > Translation Management > Translators and saw that i was the only translator assigned. may i know if you deleted your user from that page? a person that is translating any page, should be a translator as well, even if you are set as an admin of the entire website.

2) I saw that the page was a one point translated with Gutenberg and there was a string package in WPML > Packages with the Gutenberg translations. however since you were not using Gutenberg anymore, but they system expected it, it ended up copying the content instead of translating it.

Since you use the Advanced Translation Editor, all you had to do was go to WPML > Packaged, find the package for that page (that in your case had an ID with value "3") and delete it.

I did that and translated the page again (Without using any credits since it had already been translated) and that seemed to have done the trick.

Regards.

March 25, 2024 at 11:27 am #15445967

aigarsM

Hi!

Thank you; that's great to hear!

1)"WPML > Translation Management > Translators and saw that i was the only translator assigned" - Can you tell me if I'm missing something if I, as an administrator, don't add myself as a translator? As far as I could see, I could translate everything else without specifically setting my account as a translator.

2)"I saw that the page was a one point translated with Gutenberg and there was a string package in WPML > Packages with the Gutenberg translations." - Can you tell me how you can see if a certain package is or isn't translated with Gutenberg? All I see are different types of ACF groups hidden link

March 25, 2024 at 1:48 pm #15447154

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

- Adding yourself as a translator is recommended mainly because while it's not strictly needed, if there's a problem, the system will work better if you are, since you will be an admin and have all the permissions needed to work correctly.

- You can see if a page is translated with a page builder (Gutenberg in this case) if you go to WPML > Packages and find a string package with a name like [page builder name]-strings-[page id] (i.e: gutenberg-strings-3). you had only one package there with something different than ACF and, for the page with ID = 3, the privacy page. i deleted it and the problem went away.

That only happens when a page is translated with a page builder, for the first time. i suspect that this happened before you installed the "classic editor" plugin, maybe?

Regards.

March 26, 2024 at 5:58 am #15449471

aigarsM

Great, thank you! My issue is resolved.