i18n-js
Version:
A small library to provide I18n on JavaScript.
198 lines • 4.29 kB
JSON
{
"en": {
"date": {
"abbr_day_names": [
"Sun",
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat"
],
"abbr_month_names": [
null,
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec"
],
"day_names": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"formats": {
"default": "%Y-%m-%d",
"long": "%B %d, %Y",
"short": "%b %d"
},
"month_names": [
null,
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"order": [
"year",
"month",
"day"
]
},
"datetime": {
"distance_in_words": {
"about_x_hours": {
"one": "about 1 hour",
"other": "about %{count} hours"
},
"about_x_months": {
"one": "about 1 month",
"other": "about %{count} months"
},
"about_x_years": {
"one": "about 1 year",
"other": "about %{count} years"
},
"almost_x_years": {
"one": "almost 1 year",
"other": "almost %{count} years"
},
"half_a_minute": "half a minute",
"less_than_x_seconds": {
"one": "less than 1 second",
"other": "less than %{count} seconds"
},
"less_than_x_minutes": {
"one": "less than a minute",
"other": "less than %{count} minutes"
},
"over_x_years": {
"one": "over 1 year",
"other": "over %{count} years"
},
"x_seconds": {
"one": "1 second",
"other": "%{count} seconds"
},
"x_minutes": {
"one": "1 minute",
"other": "%{count} minutes"
},
"x_days": {
"one": "1 day",
"other": "%{count} days"
},
"x_months": {
"one": "1 month",
"other": "%{count} months"
},
"x_years": {
"one": "1 year",
"other": "%{count} years"
}
}
},
"number": {
"currency": {
"format": {
"delimiter": ",",
"format": "%u%n",
"precision": 2,
"separator": ".",
"significant": false,
"strip_insignificant_zeros": false,
"unit": "$"
}
},
"format": {
"delimiter": ",",
"precision": 3,
"separator": ".",
"significant": false,
"strip_insignificant_zeros": false
},
"human": {
"decimal_units": {
"format": "%n %u",
"units": {
"billion": "Billion",
"million": "Million",
"quadrillion": "Quadrillion",
"thousand": "Thousand",
"trillion": "Trillion",
"unit": ""
}
},
"format": {
"delimiter": "",
"precision": 3,
"significant": true,
"strip_insignificant_zeros": true
},
"storage_units": {
"format": "%n %u",
"units": {
"byte": {
"one": "Byte",
"other": "Bytes"
},
"eb": "EB",
"gb": "GB",
"kb": "KB",
"mb": "MB",
"pb": "PB",
"tb": "TB"
}
}
},
"percentage": {
"format": {
"delimiter": "",
"format": "%n%"
}
},
"precision": {
"format": {
"delimiter": ""
}
}
},
"support": {
"array": {
"last_word_connector": ", and ",
"two_words_connector": " and ",
"words_connector": ", "
}
},
"time": {
"am": "am",
"formats": {
"default": "%a, %d %b %Y %H:%M:%S %z",
"long": "%B %d, %Y %H:%M",
"short": "%d %b %H:%M"
},
"pm": "pm"
}
}
}