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 Yvette 5 months, 1 week ago.

Assigned support staff: Yvette.

Author Posts
May 8, 2019 at 12:50 pm #3766747

brianG-6

Hello,

I am using LearnDash with WPML, and they've let me know that each translated course is its own completely separate entity. They need to be built separately, scoring is kept separately, etc. So, if the user flips the language in the middle of a course, they're brought to an entirely different course to continue in. This could wreak havoc. Is there a hook or anything I can use to alert the user that they cannot flip the language of a course, or even hide the language switcher on course related pages? Thanks!

May 8, 2019 at 6:25 pm #3770005

Yvette
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hello

As this is a "custom" solution, a more complete answer would really be out of the scope of our support policy. You might want to contact a WPML contractor for support here:
https://wpml.org/contractors/

However, you could create some conditional CSS to hide the language switcher based on the CSS id or class of the page.

e.g. display: hidden

More here:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/how-to-fix-styling-and-css-issues-for-the-language-switchers/

The topic ‘[Closed] Alert users if translation is not available’ is closed to new replies.