Month View Link Switch Not Working in Translated Site

Home Forums Calendar Products Filter Bar Month View Link Switch Not Working in Translated Site

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1531749
    Claire Lanyado
    Participant

    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,
    Jonah

    #1532507
    Jeremy
    Keymaster

    Hi 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,
    Jeremy

    #1533142
    Claire Lanyado
    Participant

    Hi 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

    #1533179
    Claire Lanyado
    Participant

    Hey 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

    #1533799
    Jeremy
    Keymaster

    Hi 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,
    Jeremy

    #1538002
    Claire Lanyado
    Participant

    Hey 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!
    – Jonah

    #1538701
    Jeremy
    Keymaster

    Hi 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:

    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,
    Jeremy

    #1541239
    Claire Lanyado
    Participant

    Hey Jeremy,

    I think I’ve fixed it based off of this thread: https://wpml.org/forums/topic/tribe-event-calendar-not-changing/

    Thanks,
    Jonah

    #1542240
    Andras
    Keymaster

    Hey 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,
    Andras

    PS: 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/

     

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Month View Link Switch Not Working in Translated Site’ is closed to new replies.