Language detection should prioritise a base language match over an exact match later in the order
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 62/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start by tracing how browser language preferences are matched to the form's button language, especially when the form does not specify a language. Reproduce the case with only es-PA configured; the expected result is Spanish buttons rather than English. The issue does not name a file or test, so locate the language-detection entry point and its related tests before making changes.
索引モデルが issue の本文から書いたものです。
説明
Expected Behaviour
Users can configure multiple languages in the browser in the order of preference. These include specific language, such as 'es-PA' for Spanish spoken in Panama. If the user specifies 'es-PA' and the form doesn't define a language, then the form buttons should be in Spanish.
Observed Behaviour
The form buttons are in English.
Reproduction Steps
Steps:
- Configure the browser to use 'es-PA' and nothing else
- Load a form which doesn't specify a language
Additional Context
Reported on the forum with additional use cases: https://forum.getodk.org/t/web-forms-1-1-1-six-issues-ui-language-fallback-title-wrapping-guidance-hints-region-names-contrast-select-one-external/58660
- 主要言語
- TypeScript
- スター
- 38
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getodk/web-forms のほかの issue
-
iOS
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 3/5 半日 初心者へのやさしさ 54/100
-
Offline send queueオープンIn Enketo
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
Launch form offlineオープンneeds discussion
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
getodk/web-forms の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
twilio/twilio-node#1241 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
hugomrdias/playwright-test#786 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:stdlib effort:S impact:med platform:linux type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
WenyuChiou/agent-board#1745 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信