Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Why are `Plurals` and `PluralRules` separate; they currently output different data

オープン
#158 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ruby
領域
localization

調査の方向性

Compare plurals.rb and plural_rules.yml, tracing how each reads supplemental/plurals.xml and which locales it emits. Check the related issue #157 for the locale-output context. Done means the implementations are merged or aligned so both outputs cover the same scenarios and represent the same information.

索引モデルが issue の本文から書いたものです。

説明

There seems to be a lot of overlap between these components. They use the same supplemental/plurals.xml file, but they do so in different ways, so produce different results.

plurals.rb is only output for some locales, but plural_rules.yml gets output for many more (but not all) locales.

My gut feel is that plurals.rb and plural_rules.yml should be output in the same scenarios, and represent the same information.

Figure out how to merge the implementations of these components?

主要言語
Ruby
スター
78
フォーク
18
平均マージ
56分
マージ済み PR(30日)
1

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ruby-i18n/ruby-cldr のほかの issue

ruby-i18n/ruby-cldr の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。