ruby-i18n / ruby-i18n/ruby-cldr

Export is missing some subdivisions

Open
#95 3 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.