Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate locale selection for documentation pages #7471

Open
AustinShalit opened this issue Sep 9, 2020 · 3 comments
Open

Automate locale selection for documentation pages #7471

AustinShalit opened this issue Sep 9, 2020 · 3 comments
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required

Comments

@AustinShalit
Copy link

Hi folks,

@agjohnson mentioned in #4600 that RTD was looking into redirecting users to a translation that matches their browser's language.

User requested /, redirect to /<default language>/<version> if no accept language header, or /<accept language header code>/<version> if there is a header. This change is relatively easy and we have an issue already tracking this internally.

I was just looking to see what happened with that suggestion.

Thank you,
Austin

@AustinShalit AustinShalit changed the title Revive #4600 Revive #4600 (Redirect to Translated Docs) Sep 9, 2020
@stsewd stsewd added Improvement Minor improvement to code Needed: design decision A core team decision is required labels Sep 17, 2020
@agjohnson
Copy link
Contributor

I'd still like to see this happen, and we're probably more equipped for this now that we have an application in front of all requests that serve documentation. I'm not sure what priority we have on this though, we'd probably want to get up to date figures on how many projects have active translations.

@humitos humitos changed the title Revive #4600 (Redirect to Translated Docs) Automate locale selection for documentation pages May 10, 2022
@humitos
Copy link
Member

humitos commented May 10, 2022

I renamed the issue to something similar to #8709 which is related, but for dashboard instead of documentation pages.

@humitos
Copy link
Member

humitos commented Jan 27, 2025

Today I saw python/docsbuild-scripts#82 (comment) and I wanted to link it here as a reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required
Projects
None yet
Development

No branches or pull requests

4 participants