Skip to content

Commit 7ab78d4

Browse files
docs: update prerequisites documentation
1 parent fffefd7 commit 7ab78d4

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

docs/cldr/index.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,22 @@ position: 1
1010

1111
The Kendo UI Internationalization library uses the [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) as a source for the locale information. To function properly, it requires the data for the corresponding locale to load.
1212

13-
The `numbers`, `currencies`, `gregorian calendar`(`"ca-gregorian"`) and `timeZoneNames` for the `en` locale and the `supplemental weekData` are loaded by default.
13+
The `numbers`, `currencies`, `gregorian calendar`(`"ca-gregorian"`) and `timeZoneNames` for the `en` locale are loaded by default.
14+
Additionally, a subset of the supplemental `currencyData`, `likelySubtags` and `weekData` is loaded in order to support `en` dates and numbers parsing and formatting without loading any data.
1415

1516
## Prerequisites
1617

17-
The table below lists the data which is required for number and date formatting and parsing.
18-
19-
| FORMATS | REQUIRED DATA |
20-
|:--- |:--- |
21-
| Any | `cldr/supplemental/likelySubtags.json` |
22-
| Basic numbers | `cldr/main/locale/numbers.json` |
23-
| Currency | `cldr/main/locale/currencies.json` and `cldr/supplemental/currencyData.json` |
24-
| Basic dates | `cldr/main/locale/ca-gregorian.json` |
25-
| Localized timezone | `cldr/main/locale/timeZoneNames.json` |
18+
No data is required to be loaded if working with the `en` locale. The only case in which additional data for the `en` locale is required is currency formatting with non-default currency in which case the `cldr-data/main/en/currencies.json` data must be loaded.
19+
The table below lists the data which is required for number and date formatting and parsing when using non-default locale.
20+
21+
| FORMATS | REQUIRED DATA |
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` |
26+
| Basic dates | `cldr/main/locale/ca-gregorian.json` |
27+
| Localized timezone | `cldr/main/locale/timeZoneNames.json` |
28+
| Numberic week day formatting | `cldr/supplemental/weekData.json` |
2629

2730
## Getting CLDR Data
2831

0 commit comments

Comments
 (0)