RingCentral 本地化 L10N 支持如何运作?
How does RingCentral localization L10N support work?
在 RingCentral 用户扩展信息 API 中,有一个 regionalSettings
组件具有三个不同的语言环境属性:language
、greetingLanguage
和 formattingLocale
.这 3 个属性有何区别?在本地化应用程序时您将如何使用它们?
这是一个示例响应摘录:
"regionalSettings": {
"timezone": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/dictionary/timezone/58",
"id": "58",
"name": "US/Pacific",
"description": "Pacific Time (US & Canada)",
"bias": "-480"
},
"homeCountry": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/dictionary/country/1",
"id": "1",
"name": "United States",
"isoCode": "US",
"callingCode": "1"
},
"language": {
"id": "1033",
"name": "English (United States)",
"localeCode": "en-US"
},
"greetingLanguage": {
"id": "1033",
"name": "English (United States)",
"localeCode": "en-US"
},
"formattingLocale": {
"id": "1033",
"name": "English (United States)",
"localeCode": "en-US"
},
"timeFormat": "12h"
},
API 参考描述如下:
language
: User interface language data
greetingLanguage
: Information on language used for telephony greetings
formattingLocale
: Formatting language preferences for numbers, dates and currencies
参考:https://developer.ringcentral.com/api-docs/latest/index.html#!#RegionalSettings
在 RingCentral 用户扩展信息 API 中,有一个 regionalSettings
组件具有三个不同的语言环境属性:language
、greetingLanguage
和 formattingLocale
.这 3 个属性有何区别?在本地化应用程序时您将如何使用它们?
这是一个示例响应摘录:
"regionalSettings": {
"timezone": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/dictionary/timezone/58",
"id": "58",
"name": "US/Pacific",
"description": "Pacific Time (US & Canada)",
"bias": "-480"
},
"homeCountry": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/dictionary/country/1",
"id": "1",
"name": "United States",
"isoCode": "US",
"callingCode": "1"
},
"language": {
"id": "1033",
"name": "English (United States)",
"localeCode": "en-US"
},
"greetingLanguage": {
"id": "1033",
"name": "English (United States)",
"localeCode": "en-US"
},
"formattingLocale": {
"id": "1033",
"name": "English (United States)",
"localeCode": "en-US"
},
"timeFormat": "12h"
},
API 参考描述如下:
language
: User interface language data
greetingLanguage
: Information on language used for telephony greetings
formattingLocale
: Formatting language preferences for numbers, dates and currencies
参考:https://developer.ringcentral.com/api-docs/latest/index.html#!#RegionalSettings