Home › Forums › Calendar Products › Filter Bar › Month View Link Switch Not Working in Translated Site
- This topic has 8 replies, 3 voices, and was last updated 5 years, 11 months ago by Claire Lanyado.
-
AuthorPosts
-
May 16, 2018 at 8:56 am #1531749Claire LanyadoParticipant
Hi there,
Our month view switcher link is not working on our German site. Please see it in action here: https://unifiedthomas.staging.wpengine.com/de/calendar/
Please help!
Thanks,
JonahMay 17, 2018 at 1:09 am #1532507JeremyKeymasterHi Jonah,
Thanks for reaching out to us! I’d be happy to help you.
It’s a little bit strange indeed. which plugin do you use to make this website multilingual? WPML or another one?
I noticed the month view in German is here: https://unifiedthomas.staging.wpengine.com/de/calendar/month/. However, it seems that, when you click on “Monat”, your website is trying to find a page called “https://unifiedthomas.staging.wpengine.com/de/calendar/monat/”, which doesn’t exist. So it goes back to the default /calendar page.
For the German version of your website, try to change the slug of “month” in “monat”, maybe that would help.
Let me know how it goes,
Cheers,
JeremyMay 17, 2018 at 9:57 am #1533142Claire LanyadoParticipantHi Jeremy,
Thanks for your reply! We’re using WPML. So to modify the slug for other languages, do I just modify the eventsSlug value?
– Jonah
May 17, 2018 at 10:15 am #1533179Claire LanyadoParticipantHey Jeremy,
I tried changing what I think is the ‘month’ slug used by the plugin and picked up by WPML in the String Translator. Modified the values to ‘monat’ for all instances of ‘month’, cleared permalinks and it didn’t work…
Any other ideas?
– Jonah
May 18, 2018 at 8:29 am #1533799JeremyKeymasterHi Jonah,
I’m not sure what’s going on with your website — that’s a weird behavior. Did you try to contact WPML’s support? It may have something to do with multilingual WordPress Custom Post Type Archives, and they might have a solution for this.
Did you try deactivating all other plugins (except for the Events Calendar ones)? Did you have the same problem?
Did you also try to switch to a default theme such as TwentySeventeen? And still the same issue?
In WPML > Translation Options, did you click on “Translate custom posts slugs (via WPML String Translation).“?
Still in WPML > Translation Options, did you click “Use different slugs in different languages for Events. “?
Have a nice day,
JeremyMay 24, 2018 at 8:17 am #1538002Claire LanyadoParticipantHey Jeremy,
I haven’t reached out to WPML, and can do so, but it seems like to me this is primarily an issue with TEC functionality that needs to be sorted out to work with WPML.
I’ve checked those options and they are both enabled and configured.
The same issue persists in our staging environment where I’ve deactivated all other plugins and reverted to TwentySeventeen: https://unifiedthomas.staging.wpengine.com/de/calendar
Please let me know what else we can take a look at.
Thanks!
– JonahMay 25, 2018 at 6:41 am #1538701JeremyKeymasterHi Jonah,
I have installed the German language with WPML on my local installation, and the month view switcher link works fine. So I’m not sure what’s causing a problem with your staging website — I guess we might have different settings.
Is https://unifiedthomas.staging.wpengine.com/de/calendar your default Events page, or is it a page you created with the <span class=”st”>[tribe_events</span>] shortcode?
I would recommend reading the 3 following articles on translation:
- https://theeventscalendar.com/knowledgebase/translating-the-events-calendar/
- https://theeventscalendar.com/knowledgebase/how-to-override-plugin-language-files/
- https://theeventscalendar.com/knowledgebase/incomplete-translations/
I would also recommned to have a look in the WPML forums, as similar questions have been asked, such as here.
Please let me know how it goes,
Cheers,
JeremyMay 29, 2018 at 2:04 pm #1541239Claire LanyadoParticipantHey Jeremy,
I think I’ve fixed it based off of this thread: https://wpml.org/forums/topic/tribe-event-calendar-not-changing/
Thanks,
JonahMay 30, 2018 at 12:19 pm #1542240AndrasKeymasterHey Jonah,
Thanks for reporting back to us on that one! Stoked to hear you have managed to get that fixed.
I will paste the solution here as well, so users who have the same issue see the solution:
Problem: if I select the list, month or today view in a language different than English, I get a 404 error message.
Solution: – Go to WPML -> String Translation – Select the “the-events-calendar” domain – Search for the “list” string and set the “Exact match” option – Please edit only the string starting with lowercase character (eg. “list” and not “List”) – Overwrite the existing translations with “list”. – Save – Verify and correct also the “month” and “today” strings
(Source: https://wpml.org/forums/topic/tribe-event-calendar-not-changing/)
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: We’d be 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. Thanks!
PS2: If you like our plugins, and you didn’t yet do so 🙂 we would also be happy to receive a review in the wordpress.org repository. Much appreciated!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/ -
AuthorPosts
- The topic ‘Month View Link Switch Not Working in Translated Site’ is closed to new replies.