ruby-i18n / ruby-i18n/ruby-cldr
Why are `Plurals` and `PluralRules` separate; they currently output different data
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 78
- Forks
- 18
- Avg merge
- 9d 8h
- Merged PRs (30d)
- 3
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- localization
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100