Home › Forums › Calendar Products › Events Calendar PRO › Disable Multi language (WPML) for events
- This topic has 3 replies, 2 voices, and was last updated 8 years, 11 months ago by
Jos.
-
AuthorPosts
-
May 16, 2017 at 2:34 am #1284277
Jos
ParticipantHi,
I read a lot of information how Calendar (PRO) is compatible but Tickets are not compatible with WPML. We actually want the events section not to be multi-language and to be shown in all languages.
However, I cannot disable the translation for events, organizers and RSVP tickets in WPML settings (radio buttons are disabled, see screenshot). According to WPML, this is because the plugin is configured to not allow this to be changed.
What do I need to change to disable multi-language completely for everything related to events?
related topic on WPML forum: https://wpml.org/forums/topic/how-to-disable-translations-for-incompatible-plugins/#post-1276862
May 16, 2017 at 12:18 pm #1284576Geoff B.
MemberGood afternoon Jos and welcome to the Events Calendar Support forum!
Thank you for your interest in our products.
We’ll be glad to answer your questions.I read a lot of information how Calendar (PRO) is compatible but Tickets are not compatible with WPML
Actually, we already offer partial compatibility, but it is unsupported.
Thank you for reaching out to us.
This feature is scheduled to be release later this year. Initially we planned for spring, but there was some pushback.
In the meantime, you could get it to partially work, but this is unsupported.
To achieve that, you will need:
- WooCommerce multilingual
- Some manual intervention
After creating the ticket AND saving the event, head over to WPML > Support > Troubleshooting page.
Once you are there, you should see several cleanup buttons. I would recommend:
- Clearing WPML cache
- Using the button that forces language assignment to items (which is what is creating the issue). This can also be accomplished by deactivating and reactivating WPML.
Your ticket will now magically appear.
The only downside is that the tickets you create in other languages are not really translations of the initial ticket. They are completely independent new tickets.
We actually want the events section not to be multi-language and to be shown in all languages.
As a side note, we are working on setting that would allow to do just that. Unfortunately, I cannot commit to a release date at this point. But stay tuned!
Our plugins handle this through the Defaults.php file found under /wp-content/plugins/the-events-calendar/src/Tribe/Integrations/WPML/
You could tweak that file or better yet, use either your functions.php file or a wpml-config.xml to achieve your goal and override that behaviour.
You can read about this here:
- https://theeventscalendar.com/support/forums/topic/disable-wpml-translation-for-tribe_events-2/
- https://theeventscalendar.com/support/forums/topic/automatically-duplicating-added-event-calandar-items-on-publish-with-wpml/
Let me know if that helps.
Have a great day!
Geoff B.
June 7, 2017 at 9:35 am #1294499Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Disable Multi language (WPML) for events’ is closed to new replies.
