ruby-i18n / ruby-i18n/ruby-cldr
Fallbacks for locales with scripts are incorrect
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 78
- Forks
- 18
- Avg merge
- 9d 8h
- Merged PRs (30d)
- 3
Description
When falling back through locales, we don't want to fallback to a non-default script, and should instead fall back to :root
Refer to this code in the CLDR upstream:
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
Start by comparing the repository's locale fallback behavior with the referenced CLDR upstream implementation in LocaleIDParser.java, lines 121-148. Reproduce a fallback case involving a locale script and verify that it falls back to :root rather than a non-default script; done means the incorrect fallback is corrected and the behavior is covered by the project's tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- internationalization, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100