@progress/kendo-angular-intl
Version:
Kendo UI Internationalization for Angular 2 components
69 lines (67 loc) • 1.41 kB
JavaScript
import { setData } from '@progress/kendo-angular-intl';
setData({
name: "mk",
likelySubtags: {
mk: "mk-Cyrl-MK"
},
identity: {
language: "mk"
},
territory: "MK",
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 $"
],
groupSize: [
3
]
}
}
});