Bad UX when swithcing languages
オープン
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、ドキュメントサイトのロケール切り替え機能と、翻訳された URL の処理方法を追跡します。Error Boundaries のようなページを開き、フランス語から英語に切り替えて、ホームに戻るのではなく対応する英語のページが維持されるかを確認し、ワークフローを再現します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation, internationalization, localization, web-dev
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100