Home › Forums › Calendar Products › Events Calendar PRO › Problem with multi-language calendar WPML
- This topic has 18 replies, 5 voices, and was last updated 8 years, 6 months ago by
Victor.
-
AuthorPosts
-
June 30, 2017 at 8:03 am #1314386
Mark
ParticipantWe 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.June 30, 2017 at 9:47 pm #1314866Geoff B.
MemberThis reply is private.
July 1, 2017 at 5:35 am #1314902Mark
ParticipantThis reply is private.
July 3, 2017 at 10:16 pm #1315722Geoff B.
MemberGood 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:
- Make a backup of your database
- 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.July 5, 2017 at 11:06 am #1316411Mark
ParticipantWe’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.
July 5, 2017 at 9:47 pm #1316647Geoff B.
MemberThis reply is private.
July 12, 2017 at 11:20 am #1320161Mark
ParticipantWe 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.July 13, 2017 at 10:48 pm #1321063Geoff B.
MemberGood 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.
July 14, 2017 at 4:35 am #1321142Mark
ParticipantThanks Geoff.
We’ve updated all the plugins to the latest version.
July 14, 2017 at 11:55 pm #1321606Geoff B.
MemberGood 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.July 20, 2017 at 5:08 am #1323755Mark
ParticipantIs 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
July 20, 2017 at 10:17 pm #1324201Geoff B.
MemberGood 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.
July 24, 2017 at 7:49 am #1325312Mark
ParticipantWe downgraded all the plugins and the issue still exists. We also tried several versions of WPML. Any other suggestions?
July 25, 2017 at 9:32 am #1325811Geoff B.
MemberGood 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:
- Remove the month view altogether for the time being
- 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.
August 16, 2017 at 9:35 am #1336071Support 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 ‘Problem with multi-language calendar WPML’ is closed to new replies.
