@progress/kendo-angular-intl
Version:
Kendo UI Internationalization for Angular 2 components
70 lines (68 loc) • 1.46 kB
JavaScript
import { setData } from '@progress/kendo-angular-intl';
setData({
name: "nb",
likelySubtags: {
nb: "nb-Latn-NO"
},
identity: {
language: "nb"
},
territory: "NO",
numbers: {
symbols: {
decimal: ",",
group: " ",
list: ";",
percentSign: "%",
plusSign: "+",
minusSign: "−",
exponential: "E",
superscriptingExponent: "×",
perMille: "‰",
infinity: "∞",
nan: "NaN",
timeSeparator: ":",
"timeSeparator-alt-variant": "."
},
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
]
}
}
});