npm package: @gsmlg/ui5-webcomponents-localization
Description: Localization for UI5 Web Components
Author: SAP SE
Latest version: 1.3.2

![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-webcomponents/master/docs/images/UI5_logo_wide.png)

# UI5 Web Components - Localization

[![Travis CI Build Status](https://travis-ci.org/SAP/ui5-webcomponents.svg?branch=master)](https://travis-ci.org/SAP/ui5-webcomponents)
[![npm Package Version](https://badge.fury.io/js/%40ui5%2Fwebcomponents.svg)](https://www.npmjs.com/package/@gsmlg/ui5-webcomponents)

Provides date/time and CLDR functionality for the purposes of building UI5 Web Components.

## Provided assets

The assets, provided by this package, are CLDR data:

`import "@gsmlg/ui5-webcomponents-localization/dist/Assets.js";`

*Note:* These assets are already imported by the UI5 Web Components packages that need them.

## Provided features

| Feature Import                                                       | Description               |
|----------------------------------------------------------------------|---------------------------|
| `@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Buddhist.js` | Buddhist calendar support |
| `@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Islamic.js`  | Islamic calendar support  |
| `@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Japanese.js` | Japanese calendar support |
| `@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Persian.js`  | Persian calendar support  |

### Advanced Calendar Types Feature

```js
import "@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Buddhist.js";
import "@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Islamic.js";
import "@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Japanese.js";
import "@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Persian.js";
```

The `ui5-date-picker` and `ui5-datetime-picker` components supports Gregorian Calendar by default.

In order to be able to use Buddhist, Islamic, Japanese, or Persian calendar with these components
(by setting its `primaryCalendarType` property), you must import one or more of the modules above.

## Resources
- [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/master/README.md)
- [UI5 Web Components - Home Page](https://sap.github.io/ui5-webcomponents)
- [UI5 Web Components - Playground and API Reference](https://sap.github.io/ui5-webcomponents/playground/)

## Support
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).

## Contribute
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/docs/6-contributing/02-conventions-and-guidelines.md).

## License
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/master/LICENSE.txt) file.