Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Support the modern versions of CLDR #68

Closed
wants to merge 9 commits into from

Conversation

movermeyer
Copy link
Collaborator

@movermeyer movermeyer commented Aug 27, 2021

What are you trying to accomplish?

There are a number of issues that prevent ruby-cldr from being used with modern versions (especially v38+):

What approach did you choose and why?

I'm opening this PR as a base branch to merge all of the PRs for the individual fixes into.
Once all of the changes have been made, the CI will go ✅ on this PR and we can get it merged.

What should reviewers focus on?

Here is a list of the individual PRs that got merged into this one:

You can review them independently to see all of the in-depth context.

The impact of these changes

Users of ruby-cldr will once again be able to use it with modern versions of CLDR.

@movermeyer movermeyer force-pushed the mo.support_modern_cldr branch 2 times, most recently from 6adafcc to 9bad5a6 Compare November 10, 2021 16:41
@movermeyer movermeyer force-pushed the mo.support_modern_cldr branch 2 times, most recently from 69d3f7f to cdad963 Compare February 24, 2022 15:38
Previously, we were assuming that all unknown operands were `n`
We don't actually support "compact decimal" format numbers.
To do so would require refactoring the way we compute the f, t, v, and w values.

Since `c`/`e` are always 0 for non-"compact decimal" format numbers, we just hardcode it to 0 for now.
[This PR](unicode-org/cldr#474) added information about cases for pluralization of units.
This code was not ready for that, and started returning whichever happened to be that last case in the section.

For now, we'll just return the case-less version as we always did.
It was removed from the upstream in unicode-org/cldr#872
:ccp became official in unicode-org/cldr#104
:"fa-AF" was added in unicode-org/cldr#303
@movermeyer
Copy link
Collaborator Author

Superceded by #132 and #133

@movermeyer movermeyer closed this Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant