• Resolved cellobrutos

    (@cellobrutos)


    Hi,

    I’m using WPML (latest) together with The Events Calendar (3.10). For some reason, on tribe_events_the_next_month_link() (same thing for tribe_events_the_previous_month_link()), the “?lang=fr” goes between the root and the events part, like so:
    https://localhost:8080?lang=fr/events/2015-07/
    instead of
    https://localhost:8080/events/2015-07/?lang=fr
    The consequence is that this redirects to the homepage instead of the correct month in the required language.
    This behaviour seems to have been introduced by The Events Calendar 3.10, together with a few localizations issues already reported in other threads (“upcoming événements”, for example).

    Thanks,
    Fran?ois

    https://www.ads-software.com/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • Brook

    (@brook-tribe)

    Thank you Fran?ois for letting us know. I am sorry to hear that our plugin might be new issues with WPML. We are planning on supporting WPML out of the box in the future. We have knocked off most of the other items on roadmap that had to come first. But we’re not quire there yet.

    I am going to make a note of this issue so that we can look into once we are full steam ahead with making WPML compatible out of the box. I appreciate you bringing it to our attention. In the mean time, you might be able to craft a compatibility fix by using the filter ‘tribe_events_getLink’. The output of both of those functions is run through that filter, along with the various arguments used to build those links.

    Cheers!
    – Brook

Viewing 1 replies (of 1 total)
  • The topic ‘tribe_events_the_next_month_link and WPML’ is closed to new replies.