• Resolved reformar

    (@reformar)


    Hello,

    I’ve recently managed to translate our calendar page (Using Loco Translate) so it displays properly in Canadian French, but whenever we load it from the Canadian English side of the site, we get this strange behaviour:

    The initial display of the page is in English, but upon clicking one of the view changing buttons, the calendar reloads in French.

    1. English display: https://pasteboard.co/1g512Vfjn9xQ.png
    2. Upon hovering the Month display button, this is the link of the address my browser announces: https://reformar.ca/missions/(?:month|mois)/
    3. Once I click it, it turns my page in French, and loads the Liste view instead of the Month one: https://pasteboard.co/G8bwpQyxTSZa.png
    4. From then on, the link of the Month (now Mois) button announces: https://reformar.ca/missions/mois/

    Is there a way to force the English page to point directly to the English version of its views?

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Darian

    (@d0153)

    Hi @reformar

    Thanks for reaching out.

    We do have a similar bug about this one, but it was already fixed on 6.0.4. Could I ask for a screenshot or a screen recording on how you’re translating the “list” and “month”? I’d like to replicate the issue on my end.

    Moreover, please also provide the version of the following. This will help me understand how your system is set up.

    • PHP
    • WordPress
    • The Events Calendar
    • Theme

    Thread Starter reformar

    (@reformar)

    Of course.

    Here is where I go to edit the language in Canadian French:

    https://pasteboard.co/BtxhnnHruEJL.png

    This is for the label of the button:

    https://pasteboard.co/g1AC71f866Ay.png

    And this is for the string in general:

    https://pasteboard.co/aiiRedMiUBbU.png

    This is Canadian English:

    https://pasteboard.co/BXU5hWw2INLV.png

    For the button label and string in general, both translate to Month then month.

    Do note that once the language switches to Canadian French, it refuses to load up the Month view.

    As for my versions:

    PHP: 7.4.33 (Supporte les valeurs 64 bits)

    WordPress: 6.1.1

    The Events Calendar: Version 6.0.9 par The Events Calendar

    Theme: JupiterX Child (jupiterx-child) Version1.0.0

    Plugin Support Darian

    (@d0153)

    Hi @reformar

    Thanks for your response and for providing additional details.

    I tried replicating the issue on my end, but it’s working as expected. Could you try activating only The Events Calendar, Loco Translate, WP 2020 theme, and check if that makes a difference?

    See- Testing Conflicts With Themes and Other Plugins

    Moreover, if you also have a caching plugin or server-side caching, please try deactivating them for now and check if that helps.

    Let me know how it goes.

    Plugin Support Darian

    (@d0153)

    Hi @reformar

    I hope you are well. I wanted to follow up about the issue you encountered.

    Were you able to try the suggestions above?
    Let me know how it goes.

    Thread Starter reformar

    (@reformar)

    Hello!

    I’ve tested as requested. With the WP theme on, Loco translate and The Events Calendar on, I am able to switch views in French with no issue, back and forth (previously it didn’t allow for Month view after the first click).

    I was unable to load it in English until I reactivated Polylang, which controls the widget that lets me switch between the versions of the site. Once this was done, I accessed the Surveys page and the language shift happened the moment I switched views.

    Plugin Support Darian

    (@d0153)

    Hi @reformar

    Thanks for your confirmation and I’m glad that it is now working.

    If you have some time to review, that would be amazing!

    https://www.ads-software.com/support/plugin/the-events-calendar/reviews/

    I’d be closing this thread, and please do not hesitate to bump a new thread on our way. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines

    Thread Starter reformar

    (@reformar)

    Actually, the issue is only partly resolved, since the language keeps switching to French and refuses to go back to English :\

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Switching views switches languages’ is closed to new replies.