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 Dennis 5 months ago.

Assigned support staff: Dennis.

Author Posts
May 16, 2019 at 11:30 pm #3829835

Peter

How to prevent specific pages from Appearing translated with the Appears Translated setting??

Hi, this is the only documentation I can find on the Multi Lingual Content Setup options:

https://wpml.org/forums/topic/how-do-the-multiple-multilingual-content-setup-options-work-with-each-other/

The Option "Appears translated" would be ideal for us ie: one page in the default language - "appears" to be translated in the other languages IF there is NO translation created for that individual post.

This is not POST SPECIFIC - this is across the post type - so if you set it to Appear Translated on a "page" post - this will effect ALL pages.

The only problem is - we have a handful of pages that we DO NOT want to appear in the foreign languages - only in the default language. Is there a way to prevent a specific default langauge page from appearing in the translations if the Multi Lingual Content Setup option is set to "Appears Translated"?

May 17, 2019 at 7:46 am #3831887

Dennis
Supporter

Languages: English (English )

Timezone: Asia/Manila (GMT+08:00)

Hi,

Welcome to WPML Support forum.

I think this could be achieved with custom code. I recommend checking our WPML Hooks Reference:

https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/

This hook might help:

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

Unfortunately at the moment we cannot support any custom work through the forum. If you need further assistance with this, we recommend contacting our 3rd party contractors that are familiar with WPML.

https://wpml.org/contractors/

Kind regards,
Dennis