Skip to content

Commit

Permalink
new: Use official CLDR JSON packages. (#166)
Browse files Browse the repository at this point in the history
* Update territories.

* Update subdivisions.

* Handle annotations.

* Handle annotations.

* Use full.

* Handle right.

* Fix dir sequences.

* Fix mandarin.
  • Loading branch information
milesj authored Dec 3, 2023
1 parent b2e0ec6 commit f6b2dc9
Show file tree
Hide file tree
Showing 116 changed files with 21,497 additions and 13,907 deletions.
2 changes: 1 addition & 1 deletion docs/add-new-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 1) Add locale

Only Unicode CLDR supported locales can be used. See the entire list here:
https://github.com/unicode-org/cldr/tree/main/common/annotations
https://github.com/unicode-org/cldr-json/tree/main/cldr-json/cldr-annotations-full

Once you have a locale, add the locale in kebab-case to the following files:

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"@moonrepo/dev": "^2.0.1",
"@types/jest": "^29.5.5",
"babel-preset-moon": "^2.0.9",
"cldr-annotations-derived-full": "^44.0.1",
"cldr-annotations-full": "^44.0.1",
"cldr-localenames-full": "^44.0.1",
"cldr-misc-full": "^44.0.1",
"eslint": "^8.50.0",
"eslint-config-moon": "^2.0.10",
"fast-glob": "^3.3.1",
Expand Down
216 changes: 108 additions & 108 deletions packages/data/bn/compact.raw.json

Large diffs are not rendered by default.

216 changes: 108 additions & 108 deletions packages/data/bn/data.raw.json

Large diffs are not rendered by default.

108 changes: 108 additions & 0 deletions packages/data/bn/shortcodes/cldr-native.raw.json

Large diffs are not rendered by default.

108 changes: 108 additions & 0 deletions packages/data/bn/shortcodes/cldr.raw.json

Large diffs are not rendered by default.

Loading

0 comments on commit f6b2dc9

Please sign in to comment.