Skip Navigation

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

Problem:
The client needs to display all posts in all languages on a listing or social media website with frontend submission, without translating them. The issue is that the Translation Management (TM) only allows duplicating content from the site's default language, and not in bulk for content created in other languages.
Solution:
We regret to inform you that we do not plan to implement a feature for duplicating original content not created in the site's default language in bulk. However, we offer a hook that can be used on the Frontend to create duplicates in WPML when a post is published, regardless of the post's default language. You can find more information about this hook here:

If this solution does not seem relevant to your situation, please feel free to open a new support ticket in our forum: WPML 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 3 replies, has 2 voices.

Last updated by Andreas W. 1 year, 2 months ago.

Assisted by: Andreas W..

Author Posts
November 25, 2023 at 6:20 pm #14923069

babakB

Case:
A listing or social media website with Frontend submission would like to display all posts in all languages, without translating them, but fallback is not an option, as it only works from the site's default language.

So we can duplicate the posts, and we can do that from the WordPress Editor for any source language, but we cannot do this in bulk from Translation Management.

It appears that TM only allows duplicating content from the site's default language while on the WordPress Editor, we can duplicate content that was not created in the site's default language.

November 28, 2023 at 10:02 am #14937485

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

After receiving feedback from our product manager, I would like to inform you that we are sadly not planning to implement a feature, that allows duplicating original content that was not created in the site's default language in bulk.

Anyhow, we do have the following hook, which is dedicated to operating on Frontend and it will create a duplicate in WPML at the moment a post is published while the default language of the post is irrelevant:

https://wpml.org/wpml-hook/wpml_make_post_duplicates/

Best regards
Andreas

November 29, 2023 at 9:42 am #14948203

babakB

Hi Andreas!

FYI. I changed the settings for the CPT to don't translate and it fixed my problems. Now it shows on all language pages no matter which language it was updated in. The translation works because the CPT is a page with an Elementor single page template that IS translated and ACF-fields where the field options are all translated. 🙂

Have a nice week!

/b

November 29, 2023 at 11:09 am #14949657

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I am glad to hear that I found a solution for your use case.

Let us know if there is anything else we can do for you.

Best regards
Andreas