@progress/kendo-angular-intl
Version:
Kendo UI Internationalization for Angular 2 components
64 lines (62 loc) • 1.36 kB
JavaScript
import { setData } from '@progress/kendo-angular-intl';
setData({
name: "en-US-POSIX",
likelySubtags: {
en: "en-Latn-US"
},
identity: {
language: "en",
territory: "US",
variant: "POSIX"
},
territory: "US",
numbers: {
symbols: {
decimal: ".",
group: ",",
list: ";",
percentSign: "%",
plusSign: "+",
minusSign: "-",
exponential: "E",
superscriptingExponent: "×",
perMille: "0/00",
infinity: "INF",
nan: "NaN",
timeSeparator: ":"
},
decimal: {
patterns: [
"n"
],
groupSize: []
},
scientific: {
patterns: [
"nE+n"
],
groupSize: []
},
percent: {
patterns: [
"n%"
],
groupSize: []
},
currency: {
patterns: [
"$ n"
],
groupSize: [],
"unitPattern-count-one": "n $",
"unitPattern-count-other": "n $"
},
accounting: {
patterns: [
"$n",
"($n)"
],
groupSize: []
}
}
});