404 Error with Translated Pages Using i18n and Mike Versioning #7908
Unanswered
Kaoutar-92
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm experiencing an issue with the i18n plugin in an MKDocs project that uses Mike for versioning.
When accessing a page available in both languages (English and French, e.g., test.md) within a specific branch (develop):
The French version (default language) works correctly via the URL .../develop/test.
However, switching to English using the language selector results in a 404 error because it tries to access .../en/test instead of .../develop/en/test.
Expected Behavior:
The language selector should generate URLs that include the version-specific path, e.g., .../develop/en/test.
I know this issue has been raised before, but I am opening this discussion to check if there have been any solutions or workarounds since then. Did you find any solutions?
Any guidance would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions