Problem with multi-language calendar WPML

Home Forums Calendar Products Events Calendar PRO Problem with multi-language calendar WPML

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #1314386
    Mark
    Participant

    We have a site/calendar in English and French.
    Inside the french calendar, the default display is fine at http://www.mieux-etrenb.ca/events-calendar/ but when we scroll to a different month, the display reverts to English.

    #1314866
    Geoff B.
    Member

    This reply is private.

    #1314902
    Mark
    Participant

    This reply is private.

    #1315722
    Geoff B.
    Member

    Good evening Mark,

    Thank you for writing back.

    I ran some further investigation and interestingly enough, if you refresh the page after navigating through months in French, the content then displays correctly in French for that month.

    Could you tell me if there is any caching done by either a plugin or at the web host level ?

    Secondly, I am noticing the following warning in the Console view of the Google Chrome Developer tools: The key “” is not recognized and ignored. You might want to look into that. I believe this might be theme-based.

    Try temporarily reverting back to a default WordPress theme such as twenty-sixteen to see if that helps.

    When it comes to that type of issue, it is preferable to troubleshoot in a staging environment if you have one.

     

    But, before you do that, there are 2 things I would advise:

    1. Make a backup of your database
    2. Consider activating a “Maintenance Page” plugin if you are doing this on your live site (to minimize impact on your visitors)

    Last but not least, if you could try using a directory-based language selection instead of a domain-based one to see if that changes anything. You will have to re-save your permalinks.

    Let me know how that goes.

    Best regards,
    Geoff B.

     

    #1316411
    Mark
    Participant

    We’ve created a staging/test site at http://welltest.m5i.com/. You can use the same login credentials.

    There are no caching plugins installed and there is no caching by the host.

    The ‘The key “” is not recognized and ignored’ error has been fixed.

    We’ve installed the default WPML language switcher in the footer and configured WPML to use directory-based language selection and it appears to have fixed the month links (prev and next) on the french calendar in Chrome only. It still doesn’t work in Firefox and oddly enough it doesn’t work in an incognito window in Chrome either. Does this mean that the calendar isn’t compatible with domain-based language selection?

    Also noticed that the event links for ‘French Event’ work on http://welltest.m5i.com/fr/events-calendar/ but they don’t work if you click back to June. We’ve tried flushing the permalinks as well.

    #1316647
    Geoff B.
    Member

    This reply is private.

    #1320161
    Mark
    Participant

    We have done the following and the issue still exists when using domain-based language selection – the next/prev month links on the FR calendar switch the calendar back to EN.

    1. Switched to Twenty Sixteen theme.
    2. Deactivated ALL plugins except The Events Calendar and WPML.
    3. Use the default WPML language switcher (in the footer).
    4. Turned on WP_DEBUG and confirmed there are no errors.
    5. Confirmed there are no javascript errors.

    #1321063
    Geoff B.
    Member

    Good evening Mark,

    I am sorry for the delay getting back to you as we are experiencing higher levels than usual.
    Thank you for your patience and understanding.

    I have run some additional tests on your test server.
    Would you mind upgrading to the latest version of our plugins on that install.

    On my end, I would like to escalate this to our residential WPML code ninja to see what he has to say.

    Hang in there!

    Geoff B.

     

    #1321142
    Mark
    Participant

    Thanks Geoff.

    We’ve updated all the plugins to the latest version.

    #1321606
    Geoff B.
    Member

    Good evening Mark,

    As promised, I ran this past our code ninjas and there does indeed seem to be an issue.
    More specifically, it looks like there is a faulty interaction with WPML’s built-in caching system in the case of domain-based language switching.

    We apologize for the inconvenience caused by this glitch.
We are actively working on a solution for this.

    Alas, I cannot guarantee when it will be fixed, as it’s in the development team’s hands now.
    They need to assign it, code it, test it, and schedule it for release.

    The good news is that you will be contacted as soon as a fix is available.
    Thank you for your patience as we see this through.

    Best regards,
    Geoff B.

    #1323755
    Mark
    Participant

    Is there any kind of timeframe that you can provide? We have this calendar ready to go live on a client’s site but can’t launch until this is fixed.

    Thanks

    #1324201
    Geoff B.
    Member

    Good evening Mark,

    Thank you for writing back.

    As you know, every single maintenance bugfix is processed as fast as we possibly can.
    After all, we want nothing more than rock-solid integration.

    With that in mind, unfortunately I do not have a release date for you.

    For the time being, the only workaround would be to take the downgrade route.
    That means downgrading our plugins (and possibly WPML) to a previous version that offered multi-language vs month view integration.

    I recommend reading the following article on that topic: https://theeventscalendar.com/knowledgebase/downgrading-plugin-past-version/

    Based on my research, that seems to be the Events Calendar version 4.3.5 and the Events Calendar Pro version 4.3.4. It might also mean WPML version 3.6.2 (more or less).

    Let me know if that helps.

    Geoff B.

     

    #1325312
    Mark
    Participant

    We downgraded all the plugins and the issue still exists. We also tried several versions of WPML. Any other suggestions?

    #1325811
    Geoff B.
    Member

    Good afternoon Mark,

    Thank you for running those tests.
    I am truly sorry that this was not met with more success.

    As stated previously, a bug ticket has been submitted to address the current “Use a different domain” issue with the month view. You will be contacted as soon as a fix is out.

    In the meantime, this leaves you with the following options:

    1. Remove the month view altogether for the time being
    2. Use a director-based approach as opposed to a domain-based approach for language switching

    I realize none of these options are great.
    I wish I had a better answer for you, but for now it’s the only one I have unfortunately.

    Best regards,

    Geoff B.

    #1336071
    Support Droid
    Keymaster

    Hey 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

Viewing 15 posts - 1 through 15 (of 18 total)
  • The topic ‘Problem with multi-language calendar WPML’ is closed to new replies.