ids-enterprise
Version:
Infor Design System (IDS) Enterprise Components for the web
67 lines (66 loc) • 2.36 kB
JavaScript
// Get Latest from http://www.unicode.org/Public/cldr/25/
Soho.Locale.addCulture('es-419', {
// layout/language
language: 'es',
englishName: 'Spanish (Latin America)',
nativeName: 'Español (America Latina)',
// layout/orientation/@characters
direction: 'left-to-right',
// ca-gregorian
calendars: [{
name: 'gregorian',
// ca-gregorian/main/dates/calendars/gregorian/dateFormats/
dateFormat: {
separator: '/', // Infered
timeSeparator: ':',
short: 'd/M/yyyy', // use four digit year
medium: 'd MMM yyyy',
long: 'd de MMMM de yyyy',
full: 'EEEE, d de MMMM de yyyy',
month: 'd de MMMM',
year: 'MMMM de yyyy',
dayOfWeek: 'EEE d',
timestamp: 'HH:mm:ss',
timestampMillis: 'HH:mm:ss.SSS',
hour: 'HH:mm',
datetime: 'd/M/yyyy HH:mm',
datetimeMillis: 'd/M/yyyy HH:mm:ss.SSS',
dateTimestamp: 'd/M/yyyy HH:mm:ss',
timezone: 'd/M/yyyy HH:mm zz',
timezoneLong: 'd/M/yyyy HH:mm zzzz'
}, // Infered short + short gregorian/dateTimeFormats
// ca-gregorian/main/dates/calendars/gregorian/days/format/short or abbreviated (2 digit)
days: {
wide: ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
abbreviated: ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'],
narrow: ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA']
},
// ca-gregorian/main/dates/calendars/gregorian/months/format/wide
months: {
wide: ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'],
abbreviated: ['ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.']
},
// ca-gregorian/main/dates/calendars/gregorian/timeFormats/short
timeFormat: 'HH:mm',
// ca-gregorian/main/dates/calendars/gregorian/dayPeriods/wide
dayPeriods: ['a.m.', 'p.m.'],
firstDayofWeek: 0 // Starts on Sun
}],
// numbers/currencyFormats-numberSystem-latn/standard
currencySign: '$',
currencyFormat: '¤###',
// numbers/symbols-numberSystem-latn
numbers: {
percentSign: '%',
percentFormat: '###%',
percentSuffix: '%',
percentPrefix: '',
minusSign: '-',
decimal: '.',
group: ',',
groupSizes: [3, 3]
},
punctuation: {
comma: ','
}
});