You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,10 @@ It includes methods for parsing and formatting dates and numbers by using [Unico
20
20
21
21
### CLDR Data
22
22
23
-
To download the full CDLR database, you need to install the [cldr-data module](https://www.npmjs.com/package/cldr-data)by running the following command.
23
+
To use the [Unicode® CLDR](https://cldr.unicode.org/) data, you need to install the following subset of [cldr-json](https://github.com/unicode-org/cldr-json) packages by running the following command:
To apply the methods for different locales, load the `likelySubtags` and the locale data by using the [`load`](https://github.com/telerik/kendo-intl/blob/master/docs/cldr/api.md#load) method.
@@ -36,15 +36,16 @@ Additionally, the library requires you to load:
Copy file name to clipboardExpand all lines: docs/cldr/index.md
+19-17Lines changed: 19 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,19 @@ In order for it to function properly, load the data for the corresponding locale
14
14
15
15
## Prerequisites
16
16
17
-
If you work with the `en` locale, you do not have to load any data. The only exception refers to the currency formatting with non-default currency. In this case, load the `cldr-data/main/en/currencies.json` data.
17
+
If you work with the `en` locale, you do not have to load any data. The only exception refers to the currency formatting with non-default currency. In this case, load the `cldr-numbers-full/main/en/currencies.json` data.
18
18
19
19
The following table provides the data formats that are required for number and date formatting and parsing when you use a non-default locale.
20
20
21
21
| Formats | Required data |
22
22
|:--- |:--- |
23
-
| Any |`cldr/supplemental/likelySubtags.json`|
24
-
| Basic numbers |`cldr/main/locale/numbers.json`|
25
-
| Currency |`cldr/main/locale/currencies.json` and `cldr/supplemental/currencyData.json`|
> To generate the locales, install the [`cldr-data`](https://www.npmjs.com/package/cldr-data) package first.
73
+
> To generate the locales, install the following subset of [cldr-json](https://github.com/unicode-org/cldr-json) packages first: 'cldr-core cldr-dates-full cldr-numbers-full'.
72
74
73
75
The `build` method the kendo-intl package provides generates the files which use the data that is required by the Internationalization library.
0 commit comments