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.

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 2 months, 1 week ago.

Assigned support staff: Mateus Getulio.

Author Posts
July 19, 2022 at 1:40 pm #11693599

fullscreenL

How can I update all product translations to copy the custom field value from the original language?

Right now I need to open each product translation, make a change (like add a white space), and save it.

But are hundreds of products...

July 19, 2022 at 8:58 pm #11696227

Mateus Getulio
Supporter

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

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

Hi there,

Thanks for your contact, and welcome to the WPML support forum!

Unfortunately, we don't have a native feature for this and therefore it's not possible to achieve it without custom code. When the fields are created, there is a setting to adjust the translation preference, but if you have installed the ACFML later, then you need to edit each field.

Even if it is done programmatically, we'd need the names to be typed manually in the program. Also, I double-checked it and currently, we don't have a specific hook for what you're trying to achieve: https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/

As I said, it would be necessary to configure it with some code customization. I'm afraid it would be beyond the scope of this support forum but we recommend that you check our contractors page: https://wpml.org/contractors/.

Alternatively, please feel free to request this feature at the link: https://wpml.org/suggest-a-new-feature-for-wpml/. We will analyze it and upon further check, it can be available in the future versions of WPML.

Moreover, what perhaps might work for you is to bulk duplicate the original pages to their translations. Please check it better here: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#how-to-duplicate-pages-and-posts-in-bulk

If you need anything else don't hesitate to contact us. Thanks for your understanding.

Best,
Mateus.