Background of the issue:
I am trying to set up The Events Calendar with WPML to use a consistent URL format for different languages. I want the URLs to be structured as /events/, /en/events/, and /cs/events. The issue can be seen on this page: hidden link.
Symptoms:
The URLs are inconsistent, with a mix of uppercase, lowercase, English, Czech, and German, resulting in duplicate pages. Sometimes the 'Month' link doesn't work at all for some languages. For example, hidden link doesn't allow switching to the month view, and hidden link has unexpected translations and capitalization. The URL hidden link works but switches to a German URL when changing views. Some URLs are only reachable via direct input.
You can create a lot of weird urls by visiting the month or list view and then changing the language: hidden link (german "Liste") hidden link (czech "Liste") hidden link (why is this uppercase?)
Questions:
Why are the URLs inconsistent with unexpected translations and capitalization?
Why are some links not working or only reachable via direct URL input?
Where are the translations for 'list', 'month', and 'events' coming from if they're not in string translation?
I'm still checking your issue. I tried a different couple solutions that didn't work, and now I'm gathering information to take your issue to our devs. They will take a more in-depth look to what's going on.
To confirm if the issue is specific to your website, I've set up a testing environment with the same languages. Please install and activate The Events Calendar plugin and try to recreate the issue there. You can access it by clicking on this link: hidden link
Please note that only the minimum is necessary here, so there's no need to install other plugins or create content that is not related to the issue. I know this takes some effort, so I really appreciate and thank your cooperation.
Thank you for sharing the details and for the cooperation. I'm still verifying and will get a second opinion with our devs. I'll be back once I have new information.