Bad UX when swithcing languages
Aperta
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 11.8k
- Fork
- 7.9k
- Merge medio
- 1g 11h
- PR unite (30g)
- 11
Descrizione
Hi, I just wanted to share with you the problematic workflow I encounter:
- I access React docs, eg to read about ErrorBoundaries
- I get redirected to the French version automatically
- However, the translation of technical conept is actually more confusing than helpful when you are used to work in English. For instance "Périmètres d'erreur": it's nice to have an intelligible French translation of course, but "Perimètre" and "Boundary" have nothing in common and might be actually hard to find more documentations in English afterward. Another use case: I want to share this piece of docs to React beginner on Discord or elsewhere so I need the English version
- I switch to English via the locale switcher
- I get redirected to the home page :(
- I have trouble finding the page back since the URL is also translated
This workflow could be vastly improved by simply keeping the current page when we switch languages
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia tracciando il selettore della locale del sito di documentazione e il modo in cui gestisce gli URL tradotti. Riproduci il flusso aprendo una pagina come Error Boundaries, passando dal francese all'inglese e verificando se viene mantenuta la pagina equivalente in inglese invece di tornare alla home page.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, react
- Ambito
- documentation, internationalization, localization, web-dev
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100