Skip Navigation

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

Problem:
If you're experiencing issues with ACF fields not being visible in the WPML translation editor, even though you have set the translation preferences correctly, this might be due to a configuration issue.
Solution:
We recommend checking the translation preferences for these text fields. They might be set to "Copy Once" even if "Same fields across languages" is enabled. To fix this, switch the group to "Different fields across languages" and then revert it back to "Same fields across languages." This action should apply the necessary changes.

Additionally, if this process triggers background tasks that seem to be stuck, you might need to delete the entries in the

icl_background_tasks

table. Please ensure you have a database backup before proceeding. For more context, you can refer to our forum post: https://wpml.org/forums/topic/updating-affected-posts-for-changes-jobs-are-stuck-never-resolving/#post-15357512

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at our support forum.

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.

This topic contains 2 replies, has 2 voices.

Last updated by Bruno Kos 4 months, 4 weeks ago.

Assisted by: Bruno Kos.

Author Posts
September 11, 2024 at 9:02 am #16165266

robinL-16

Background of the issue:
(Automatically) translate ACF fields, but they aren't visible in the WPML translation editor. I already had contact with WPML on monday, but a test environment was needed. I've setup the test environment now.

Symptoms:

Questions:

September 11, 2024 at 9:29 am #16165467

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Can you provide us with credentials for the staging site? But note that which fields show in translation editor depend upon https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#how-to-translate-acf-fields

Here is where you can see it in detail:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/#understanding-how-acfml-translates-custom-fields-in-preset-translation-options

September 12, 2024 at 6:47 am #16168922

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

I noticed that the translation preferences for these text fields were unexpectedly set to "Copy Once," even though "Same fields across languages" was enabled at hidden link. To resolve this, I temporarily switched the group to "Different fields across languages" and then reverted it back to "Same fields across languages." This action successfully applied the change.

Please review how it appears before and after, and check the current translation settings.

However, this process may have triggered some background tasks that could be stuck. We are working on a broader solution for this, but for now, deleting the entries in the `icl_background_tasks` table should resolve the issue. Ensure you have a database backup before proceeding.

You can refer to this forum post for more context: https://wpml.org/forums/topic/updating-affected-posts-for-changes-jobs-are-stuck-never-resolving/#post-15357512

Could you please review everything and let me know if you have any questions?

COPY_ONCE.png
changed translation preferences.png
now ate.png
bgtasks.png