You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Switch to exact document if it exists in another language #1220
If I am looking at /en-us/filename.md and "filename.md" also exists in /zh-cn/, when I switch languages to /zh-cn/ it should open up "filename.md" instead of "readme.md"
What problem does this feature solve?
A user can switch to the translated version of the same document rather than having to re-navigate the website in the target language.
(Not as important, but also allows one to have homepages not called "readme.md" in other languages besides the default one, since it can be the same name as the default language.)
What does the proposed API look like?
Unknown.
How should this be implemented in your opinion?
One should only be sent to readme.md if a file with the same name does not exist in the target language.
Activity