Skip Navigation

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

Problem:
The client is using Woocommerce Memberships and has set this custom post type to be translatable. As a result, instead of having 5 memberships, the client ended up with 25 memberships due to the 5 different languages. The client needs only 5 memberships with translated names, not separate memberships for each language.

Solution:
We have reviewed the issue and concluded that it is not possible to translate only the title of a custom post type while keeping the rest untranslated. When you set a post type as translatable, it affects the entire post type (https://wpml.org/documentation/getting-started-guide/translating-custom-posts/).
A custom solution is required for the client's specific needs, which is beyond the scope of our support forum. We recommend contacting WPML Contractors for a custom approach (https://wpml.org/contractors/).

Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If this is the situation, we encourage you to open a new support ticket. We also highly recommend checking related known issues (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 you need further assistance, please visit 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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by ericH-23 9 months, 1 week ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 22, 2024 at 8:39 am #15331786

ericH-23

I am using Woocommerce Memberships and set this custom post type to translation. Now I have not 5 memberships, but with 5 languages 25 membrships. But I am using memberships for content restriction and have automator rules. So I need only 5 memberships and only translated names, not memberships. How can I do this?

February 22, 2024 at 11:57 am #15333267

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for waiting on this. I've discussed with my team and looks like it isn't possible to just translate the title while setting rest of the post type untranslated.

In short, as I mentioned earlier in the chat, you can set a post type as translatable or not and it affects the whole post type (https://wpml.org/documentation/getting-started-guide/translating-custom-posts/).

In your case, you may need custom approach to deal with this, which is unfortunately is out of scope of this forum. Should you need custom solution, we recommend you contact WPML Contractors at https://wpml.org/contractors/.

Regards.

February 22, 2024 at 1:25 pm #15333756

ericH-23

Hi,
OK, I understand, so for now I set it to not translatable and use the memberships with English names, otherwise things going to be too complicate.
Thanks, kind regards
Eric