By default, Wijmo formats and parses data using the American English culture. The decimal symbol is a period, the thousand separator is a comma, and the days of the week are "Sunday" through "Saturday".
If your application targets other cultures, include references to the appropriate Wijmo culture files in your HTML pages. Wijmo includes over 40 culture files (see complete list below), and we have tools for generating new ones. If you want to target a culture that is not currently supported, contact us and we will create the file you need.
Include Cultures from npm
Culture files with language/country specific format descriptors and UI strings are shipped in the separate @grapecity/wijmo.cultures package. It can be installed using this command:
npm install @grapecity/wijmo.cultures
You can apply a specific culture file from the @grapecity/wijmo.cultures package using import statement like this:
//set German culture import '@grapecity/wijmo.cultures/wijmo.culture.de';
Include Cultures as Script Include
Alternately, you can also include the culture as a script include:
<!-- set German culture --> <script src="node_modules/@grapecity/wijmo.cultures/wijmo.culture.de.js"> </script>
By default, Wijmo uses the American English culture, but for your convenience, we have included several other cultures. They are located on npm, and on the CDN, but you can also find the files in your installation folder in \Dist\controls\cultures. The following cultures are currently included.
|ar-AE||Arabic (United Arab Emirates)|
|zh-HK||Chinese (Traditional, Hong Kong SAR)|
|zh-TW||Chinese (Traditional, Taiwan)|
|en-GB||English (United Kingdom)|
|es-419||Spanish (Latin America)|