Home › Forums › Calendar Products › Events Calendar PRO › Calendar List View not working on translated page
- This topic has 6 replies, 3 voices, and was last updated 9 years, 5 months ago by
Ulf.
-
AuthorPosts
-
November 9, 2016 at 12:06 pm #1189886
Ulf
ParticipantHi there,
I have a few category pages displaying the calendar plugin that have english and french content/events and I have noticed that the list view is not working on translated (french) pages. When on the English page and I use the dropdown to view the list view it works fine, however when I go to the french page and do this, the page reloads but stays on the month view.
I have noticed that /list/ does not show up in the URL when this happens as well. When I type /list/ in manually the page displays the list view as expected.
I am hoping for any ideas that you may have on why /list/ would not be showing up in the URL for French pages.
Thank you,
MaddieNovember 9, 2016 at 12:08 pm #1189887Ulf
ParticipantThis reply is private.
November 9, 2016 at 2:16 pm #1189962Andras
KeymasterThis reply is private.
November 9, 2016 at 2:32 pm #1189973Andras
KeymasterHi Ulf,
Thanks for your patience. I had to talk with our translations guy and got some useful info.
In general with the ?lang=fr setup is not the best option for this, but it can be done. You need to tweak your setup so that the slugs do not get translated. This article will help you in that:
Also note that the ?lang=fr setup is not the best for SEO.
The other option is to use a different language URL format. You can set this under WPML > Languages.
Let me know if this helps you solve the issue.
Cheers,
AndrasNovember 10, 2016 at 9:01 am #1190441Ulf
ParticipantHi András,
Changing the URL format worked perfectly, the month and list view seem to be working well on both English and French pages now. Thanks for the SEO tip as well, I had not though about that initially.
Thanks again!
MaddieNovember 11, 2016 at 1:31 am #1190777Andras
KeymasterHi Maddie, (Sorry for mixing up the names before. :blush: )
I’m happy to hear it helped! I am going to go ahead and close this ticket, but if you need help on this or something else, don’t hesitate to open a new topic.
Good luck with your project!
Cheers,
AndrasPS: If you like our plugin, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendarPS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!
-
AuthorPosts
- The topic ‘Calendar List View not working on translated page’ is closed to new replies.
