UNPKG

@d3plus/locales

Version:

International localizations for number, date, and UI labels.

335 lines (334 loc) 5.97 kB
/** @namespace {Object} formatLocale @desc A set of default locale formatters used when assigning suffixes and currency in numbers. */ export default { "ar-SA": { separator: "", suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", " ألف", " مليون", " بليون", " تريليون", " كوادريليون", " كوينتيليون", " سكستليون", "سبتيليون" ], grouping: [ 3 ], delimiters: { thousands: ",", decimal: "." }, currency: [ "SAR ", "" ] }, "en-GB": { separator: "", suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "B", "T", "q", "Q", "Z", "Y" ], grouping: [ 3 ], delimiters: { thousands: ",", decimal: "." }, currency: [ "£", "" ] }, "en-US": { separator: "", suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "B", "T", "q", "Q", "Z", "Y" ], grouping: [ 3 ], delimiters: { thousands: ",", decimal: "." }, currency: [ "$", "" ] }, "en-SA": { separator: "", suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", " thousand", " million", " billion", " trillion", " quadrillion", " quintillion", " sextillion", "septillion" ], grouping: [ 3 ], delimiters: { thousands: ",", decimal: "." }, currency: [ "$", "" ] }, "es-CL": { separator: "", suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "MM", "B", "T", "Q", "Z", "Y" ], grouping: [ 3 ], delimiters: { thousands: ".", decimal: "," }, currency: [ "$", "" ] }, "es-MX": { separator: "", suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "MM", "B", "T", "Q", "Z", "Y" ], grouping: [ 3 ], delimiters: { thousands: ",", decimal: "." }, currency: [ "$", "" ] }, "es-ES": { separator: "", suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "mm", "b", "t", "q", "Q", "Z", "Y" ], grouping: [ 3 ], delimiters: { thousands: ".", decimal: "," }, currency: [ "€", "" ] }, "et-EE": { separator: " ", suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "tuhat", "miljonit", "miljardit", "triljonit", "q", "Q", "Z", "Y" ], grouping: [ 3 ], delimiters: { thousands: " ", decimal: "," }, currency: [ "", "eurot" ] }, "fr-FR": { suffixes: [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "m", "b", "t", "q", "Q", "Z", "Y" ], grouping: [ 3 ], delimiters: { thousands: " ", decimal: "," }, currency: [ "€", "" ] }, "zh-CN": { separator: "", suffixes: [ "幺", "仄", "阿", "飞", "皮", "纳", "微", "毫", "", "千", "兆", "吉", "太", "拍", "艾", "泽", "尧" ], grouping: [ 3 ], delimiters: { thousands: ",", decimal: "." }, currency: [ "¥", "" ] } };