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: docs/cldr/index.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,19 +10,22 @@ position: 1
10
10
11
11
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.
12
12
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.
14
15
15
16
## Prerequisites
16
17
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`|
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`|
0 commit comments