RingCentral本地化L10N支持如何工作?

时间:2018-08-09 00:08:20

标签: localization ringcentral settings

在RingCentral用户扩展信息API中,有一个regionalSettings组件,具有三个不同的语言环境属性:languagegreetingLanguageformattingLocale。这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"
},

1 个答案:

答案 0 :(得分:0)

API参考描述以下内容:

  

language:用户界面语言数据

     

greetingLanguage:有关电话问候语的信息

     

formattingLocale:设置数字,日期和货币的语言首选项

参考:https://developer.ringcentral.com/api-docs/latest/index.html#!#RegionalSettings