• Resolved princecharles23

    (@princecharles23)


    the default view is “list”. after the user clicks on “month” the plugin redirects to …/monat/… (which is the german translation of “month”). no idea where i may have (mis-)configured that. oddly enough switching from month to list works without any translation (“list” would be “Liste” in german)

    this only happens in the german translation (…?lang=de)

    ideas? hints?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter princecharles23

    (@princecharles23)

    ok, well…

    in line 721 of \wp-content\plugins\the-events-calendar\src\Tribe\Main.php
    i found this line:
    $this->monthSlug = sanitize_title( __( 'month', 'the-events-calendar' ) );

    so i guess the slug is supposed to be translated. but why is no page available at that (translated) slug? and how do i fix that?

    Barry

    (@barryhughes-1)

    Can you try a couple of things here?

    • Flush the WPML cache via WPML ? Support ? Troubleshooting ? Clear the cache in WPML
    • Clear the permalink rules and rebuild them by visiting Settings ? Permalinks (you don’t need to change anything though)

    Does that help with this issue?

    Thread Starter princecharles23

    (@princecharles23)

    thanks for the advice!

    this somewhat fixed the issue since now the link is back to “month” instead of “monat”. more readable would have been the translated version working (i.e. no 404 error when going to “monat” in the german AND “month” in the english version)

    Barry

    (@barryhughes-1)

    That’s a good note.

    We do have a number of issues in progress to improve our integration with WPML, so this may be an area where you will see an improvement in a future release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Event view leads to 404 error on WPML translated page’ is closed to new replies.