-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add icu75 for NodeJS and ICU4C execution #227
Conversation
PTAL. I'd love to get this checked in soon. |
/* Generate listformat test data with the following dimensions: | ||
|
||
1. locale | ||
2. type (conjunction, disjunction, unit) | ||
3. style (long, short, narrow) | ||
*/ | ||
|
||
// Set up Node version to generate data specific to ICU/CLDR version | ||
// e.g., `nvm install 21.6.0;nvm use 21.6.0` (ICU 74) | ||
|
||
const fs = require('node:fs'); | ||
|
||
const debug = false; | ||
|
||
const locales = ['und', | ||
'en-US', 'zh-TW', 'pt', 'vi', 'el', 'mt-MT', 'ru', 'en-GB', | ||
'bn', 'ar','mr', 'zu']; | ||
|
||
const types = ['conjunction', 'disjunction', 'unit']; | ||
|
||
const styles = ['long', 'short', 'narrow']; | ||
|
||
const lists = [ | ||
[], | ||
['cat'], | ||
['dog', 'cat'], | ||
['fish', 'mouse', 'parakeet'], | ||
['3 weeks', '2 days', '3 hours', '25 minutes'] | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double-check this file; it looks like it generates list data, but:
- It is named
plural_rules_gen.js
- It is in a PR that should be a clean ICU 75 update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this generator. Thx for catching this.
Uses ICU75.1 and CLDR 45 data. Now there will be 7 versions of NodeJS in the data.