Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Use better CLDR data sources #2

Merged
merged 3 commits into from
Mar 3, 2015
Merged

Use better CLDR data sources #2

merged 3 commits into from
Mar 3, 2015

Conversation

ericf
Copy link
Collaborator

@ericf ericf commented Mar 2, 2015

This a major, breaking change that revamps how this package extracts the CLDR data. I'm currently finishing up testing these changes downstream, so this should not be merged until noted.

In order to get better and more up-to-date CLDR data, this package now uses: formatjs-extract-cldr-data which uses make-plural. The data is now from CLDR v26.

These changes supersede PR #1.

This a **major**, **breaking** change that revamps how this package
extracts the CLDR data.

In order to get better and more up-to-date CLDR data, this package now
uses: `formatjs-extract-cldr-data` which uses `make-plural`. The data
is now from CLDR v26.
@yahoocla
Copy link

yahoocla commented Mar 2, 2015

CLA is valid!

@ericf ericf changed the title [WIP] Use better CLDR data sources Use better CLDR data sources Mar 3, 2015
@ericf
Copy link
Collaborator Author

ericf commented Mar 3, 2015

I've tested this locally with an updated intl-messageformat and it works. This is ready to merge.

locales : undefined,
pluralRules : false,
relativeFields: false,
prelude : '',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary comma?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been doing this lately on purpose to avoid refactoring hazards. Since this is possible in ES5+ and that this package only runs in node, I figured it would be good to start using it. In fact trailing commas in function call expressions is on deck for ES7: https://github.com/tc39/ecma262

@okuryu
Copy link
Member

okuryu commented Mar 3, 2015

Seems it needs to update the README.

@ericf
Copy link
Collaborator Author

ericf commented Mar 3, 2015

@okuryu Yeah, I'll update the README for this PR, so it can be merged then published.

@caridy
Copy link

caridy commented Mar 3, 2015

🎱

ericf added a commit that referenced this pull request Mar 3, 2015
Use better CLDR data sources
@ericf ericf merged commit 0b83cf0 into master Mar 3, 2015
@ericf ericf deleted the better-data branch March 3, 2015 18:01
@ericf
Copy link
Collaborator Author

ericf commented Mar 3, 2015

This is in v2.0.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants