Skip Navigation

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

Problem:

I want to check if the webpage has been translated into a specific language.

Solution:

We have extensive documentation for developers and hooks that you can use for this purpose.

https://wpml.org/documentation/support/

Probably the following two hooks are what you need in your case.

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

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

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 Itamar 4 years, 2 months ago.

Assisted by: Itamar.

Author Posts
January 22, 2020 at 11:02 am #5339817

konstantinosS-10

I think that the following two hooks is what you need.
https://wpml.org/wpml-hook/wpml_element_translation_type/
https://wpml.org/wpml-hook/wpml_element_has_translations/

January 22, 2020 at 11:17 am #5339921

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

This ticket is resolved now.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.