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