@progress/kendo-angular-intl
Version:
Kendo UI Internationalization for Angular 2 components
70 lines (68 loc) • 1.43 kB
JavaScript
import { setData } from '@progress/kendo-angular-intl';
setData({
name: "fil",
likelySubtags: {
fil: "fil-Latn-PH"
},
identity: {
language: "fil"
},
territory: "PH",
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
]
}
}
});