i18n-js
Version:
A small library to provide I18n on JavaScript.
159 lines • 3.53 kB
JSON
{
"zh-CN": {
"date": {
"abbr_day_names": [
"周日",
"周一",
"周二",
"周三",
"周四",
"周五",
"周六"
],
"abbr_month_names": [
null,
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月"
],
"day_names": [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六"
],
"formats": {
"default": "%Y-%m-%d",
"long": "%Y年%m月%d日",
"short": "%m月%d日"
},
"month_names": [
null,
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月"
],
"order": [
"year",
"month",
"day"
]
},
"datetime": {
"distance_in_words": {
"about_x_hours": "大约 %{count} 小时",
"about_x_months": "大约 %{count} 个月",
"about_x_years": "大约 %{count} 年",
"almost_x_years": "接近 %{count} 年",
"half_a_minute": "半分钟",
"less_than_x_seconds": "不到 %{count} 秒",
"less_than_x_minutes": "不到 %{count} 分钟",
"over_x_years": "%{count} 年多",
"x_seconds": "%{count} 秒",
"x_minutes": "%{count} 分钟",
"x_days": "%{count} 天",
"x_months": "%{count} 个月",
"x_years": "%{count} 年"
}
},
"number": {
"currency": {
"format": {
"delimiter": ",",
"format": "%u %n",
"precision": 2,
"separator": ".",
"significant": false,
"strip_insignificant_zeros": false,
"unit": "CN¥"
}
},
"format": {
"delimiter": ",",
"precision": 3,
"separator": ".",
"significant": false,
"strip_insignificant_zeros": false
},
"human": {
"decimal_units": {
"format": "%n %u",
"units": {
"billion": "十亿",
"million": "百万",
"quadrillion": "千兆",
"thousand": "千",
"trillion": "兆",
"unit": ""
}
},
"format": {
"delimiter": "",
"precision": 1,
"significant": false,
"strip_insignificant_zeros": false
},
"storage_units": {
"format": "%n %u",
"units": {
"byte": "字节",
"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": " 以及 ",
"two_words_connector": " 和 ",
"words_connector": "、"
}
},
"time": {
"am": "上午",
"formats": {
"default": "%Y年%m月%d日 %A %H:%M:%S %Z",
"long": "%Y年%m月%d日 %H:%M",
"short": "%m月%d日 %H:%M"
},
"pm": "下午"
}
}
}