Bad UX when swithcing languages
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 11.8k
- 分支
- 7.9k
- 平均合併
- 1 天 11 小時
- 30 天內合併 PR
- 11
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先追蹤文件網站的語系切換器,以及它如何處理翻譯後的 URL。透過開啟像 Error Boundaries 這樣的頁面、從法文切換到英文,並檢查是否會保留對應的英文頁面而不是返回首頁,來重現這個流程。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- documentation, internationalization, localization, web-dev
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100