Export `alt` attribute consistently
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 28/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- ruby
調査の方向性
Start by tracing where ruby-cldr applies Base#alt? and comparing the affected exports with the CLDR XML and cldr-json examples in the issue. Define how alt=#{variantname} values should be represented separately from the base value, then verify that proposed values remain handled consistently across the export paths.
索引モデルが issue の本文から書いたものです。
説明
CLDR has an alt attribute that can be used to indicate a different things:
alt=proposed\d*andalt=#{variantname}-proposed\d*indicate proposed values that will replace the non-altversion of the value. They will always have adraftattribute, since as soon as they get theacceptedstatus, the non-altversion is replaced.alt=#{variantname}indicates an alternative value that really ought to be used in specific conditions.
Currently, ruby-cldr filters out values with an alt attribute in some places using the Base#alt? method. However, it's inconsistently applied.
We might want to export data with alt=#{variantname} style attributes, perhaps using a separate key name. cldr-json does this:
<language type="en_US">Engels (VSA)</language>
<language type="en_US" alt="short">Engels (VSA)</language>
gets exported as:
"en-US": "Engels (VSA)",
"en-US-alt-short": "Engels (VSA)",
- 主要言語
- Ruby
- スター
- 78
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ruby-i18n/ruby-cldr のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ruby-i18n/ruby-cldr の issue をすべて見る
似ている issue
-
Bug: Assistant replies lose the space before numbers ("Oct7", "as of10-22-2026") with OpenAI modelsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
we-promise/sure#4441 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
lugassawan/swe-workbench#823 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Transcription spans omit the requested temperature対応中かも @yorzi が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
crmne/ruby_llm#1276 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Admin user page looks up a Tag for every instance-scoped role (`Role#resource_name`)対応中かも @pkfrank が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
forem/forem#24083 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rubyjs/mini_racer#449 ·