@progress/kendo-angular-intl
Version:
Kendo UI Internationalization for Angular 2 components
71 lines (69 loc) • 1.48 kB
JavaScript
import { setData } from '@progress/kendo-angular-intl';
setData({
name: "ro",
likelySubtags: {
ro: "ro-Latn-RO"
},
identity: {
language: "ro"
},
territory: "RO",
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-few": "n $",
"unitPattern-count-other": "n de $"
},
accounting: {
patterns: [
"n $",
"(n $)"
],
groupSize: [
3
]
}
}
});