Skip to content

Switch to exact document if it exists in another language #1220

@kerim

Description

@kerim

Feature request

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.

Are you willing to work on this yourself?

I lack the necessary skills.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy