Skip to content

Commit 24fb771

Browse files
authored
docs: obtaining CLDR Data
1 parent 9258845 commit 24fb771

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@ It includes methods for parsing and formatting dates and numbers using [Unicode
1717

1818
### CLDR Data
1919

20-
To use the methods for different locales, use the [`load`](https://github.com/telerik/kendo-intl/blob/master/docs/cldr/api.md#load) method from the `cldr` module to load the `likelySubtags` and locale data. Additionally, the library requires the loading of the supplemental `currencyData` for the default currency formatting and the `weekData` for the day of week formatting.
20+
The [cldr-data module](https://www.npmjs.com/package/cldr-data) is required in order to download the full CDLR database.
21+
```sh
22+
npm install --save cldr-data
23+
```
24+
25+
To use the methods for different locales, use the [`load`](https://github.com/telerik/kendo-intl/blob/master/docs/cldr/api.md#load) method to load the `likelySubtags` and locale data. Additionally, the library requires the loading of the supplemental `currencyData` for the default currency formatting and the `weekData` for the day of week formatting.
2126

2227
```javascript
23-
import { load } from '@telerik/kendo-intl/cldr';
28+
import { load } from '@telerik/kendo-intl';
2429

2530
load(require("cldr-data/main/bg/numbers.json"),
2631
require("cldr-data/main/bg/currencies.json"),

0 commit comments

Comments
 (0)