Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 3 days, 8 hours ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
January 29, 2025 at 2:19 pm

felixK-9

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?

January 29, 2025 at 2:38 pm
January 29, 2025 at 6:25 pm #16648280

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

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.

Let me know.

January 30, 2025 at 12:10 pm #16651261

felixK-9

The issue can now be partially replicated here by switching the language and then opening month/list view:
hidden link

hidden link (weird uppercase)
hidden link (Mesic/Month view not reachable at all)

The issue appears even after changing the archive slug to "events" for all languages in string translation:
hidden link

January 30, 2025 at 4:56 pm #16652905

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

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.