Problems with some views

Home Forums Calendar Products Events Calendar PRO Problems with some views

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #70905
    apkoponen
    Participant

    Hi,

    I have the following problems:
    1. The month view won’t work from the chooser. It works from /tilaisuudet/month/, but it apparently tries to use the localized form /tilaisuus/kuukausi/, which cannot be found and then redirects to an event called “kuukausikokous” found in /tilaisuus/kuukausikokous/.

    2. List view won’t work, when trying to switch to it from another view. It works from /tilaisuudet/upcoming, but the view chooser directs to the localized /tilaisuudet/tuleva/.

    3. Venue pages won\’t work.

    The views start working when I disable the Events Calendar PRO plugin and re-enable it. Any ideas?

    #70906
    apkoponen
    Participant

    To add: The views stop working after some time.

    #71070
    Barry
    Member

    That sounds unusual. I see you tried deactivating all other plugins and switching to a default, unmodified theme – did that impact on the problem in any way?

    Thanks!

    #71089
    apkoponen
    Participant

    Hi, after further investigation the problem seems to come from the fact that I have a multi-language site through WPML, and once I visit the English-side, the Events Calendar PRO plugin does not “return” from the English translation to other languages, so only English slugs work…

    #71092
    apkoponen
    Participant

    Now that I realized the problem had something to do with WPML, I found a bunch of threads on the same 404 error. Is there any workaround or fix for the problem?

    #71095
    apkoponen
    Participant

    E.g. would it be possible to turn off the localization of the urls?

    #71099
    Barry
    Member

    would it be possible to turn off the localization of the urls?

    That’s a good question but I can’t give you a definite answer, I’m afraid. It’s certainly possible to detect if a request relates to events by using tribe_is_event_query(), so you might use that as the basis of your test to decide is localization of URLs should be turned off or not – the actual means of turning them off however is not something we can help with.

    Generally speaking we just can’t guarantee compatibility with WPML owing to the way that plugin works. We hope to be able to invest some time in to looking at options for improved compatibility in the future, but right now there’s little we can do here.

    #71280
    apkoponen
    Participant

    I solved the problem by changing the slug translations to the English ones.

    As long as this problem continues I would suggest you to add a “Translate slugs” as an option for WPML users.

    Though, there seems to be an actual bug with the view chooser, as the pro views don’t get translated. I’m seeing in the English and Swedish versions the Finnish translations for “Day”, “Photo” and “Map”. Month and List get translated normally.

    BTW, the organizer slug never gets translated.

    #71361
    Barry
    Member

    I’m seeing in the English and Swedish versions the Finnish translations for “Day”, “Photo” and “Map”. Month and List get translated normally.

    Is this a WPML-specific problem that you are describing? If I switch my installation to run in Swedish for instance (without WPML) day becomes dag, photo becomes foto and map becomes karta which seems to be in order?

    #71479
    apkoponen
    Participant

    Hi, it has to do with WPML, yes, or atleast with the “On the fly” language change. However, it only affects the views and parts (location search) that are related to Events Calendar PRO. The default views and stuff work fine, so it has something to do with the way PRO does the localization.

    Also, it seems to me that there is some kind of a “cache” or delay with how the translations are handled as when I changed the language it took an extra refresh for the PRO texts to update.

    #71581
    Barry
    Member

    OK – so again there is little we can do as, currently, we cannot support offer support for integration issues with WPML.

    We’re absolutely open to fixing any areas where we’re not making appropriate use of WordPress’s internationalization/localization features, but the fact that the view titles are, as far as I can see, translated perfectly outwith a WPML context suggests that perhaps this issue may indeed be on the WPML side of things.

    I’ll go ahead and close this thread now: if we can help with anything else, or you spot any translation issues that are not bound to WPML in any way, please don’t hesitate to let us know and we’ll be happy to investigate.

    Thanks!

    #981471
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

    #1001912
    Leah
    Member

    Hello,

    We are excited to report that our upcoming release, The Events Calendar 3.12, includes changes that greatly improve the compatibility between The Events Calendar and WPML. We’ve been working hard on this integration for some time and we want to specifically thank all of our users who requested and waited for this feature. We appreciate all of the support and patience!

    Version 3.12 of The Events Calendar will greatly improve compatibility with WPML, but we still have work to do. If you run into any problems integrating the two plugins, please post in our forums so that we can look into the issues. We’ll be on the look out for tweaks and fixes that will improve things further.

    Thank you again to everyone who has been waiting for this! The Events Calendar 3.12 is coming soon- watch your WordPress Updates page!

    Best,
    Leah
    and The Events Calendar team

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Problems with some views’ is closed to new replies.