ruby-i18n / ruby-i18n/ruby-cldr
Export is missing some subdivisions
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 78
- Forks
- 18
- Avg merge
- 9d 8h
- Merged PRs (30d)
- 3
Description
Problem?
thor cldr:export --components=subdivisions is missing some subdivisions
In version 35, ruby-cldr exports a data/br/subdivisions.yml file. In v36+, it does not.
This is because the subdivisions have been moved from common/subdivisions/br.xml to common/main/br.xml.
Since ruby-cldr doesn't know about this other location, it drops the information.
Potential Solution?
Look in both locations for subdivision data?
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 with the thor cldr:export --components=subdivisions entry point and compare how it reads common/subdivisions/br.xml with the moved data in common/main/br.xml. Verify the export produces data/br/subdivisions.yml for the v36+ data and includes the subdivisions currently missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli, internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100