创作者中心
中心
学习
商店
人才
论坛
路线图
登录
Create
概览
体验
虚拟形象
素材
Open Cloud
Roblox Studio has increased the minimum specification requirements.
Learn More
Create
/
Open Cloud
/
Legacy APIs
中文(简体)
反馈
Locale v1
*
此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按
此处
。
基本网址
https://locale.roblox.com
JSON
下载
CountryRegions
GET
/v1
/country-regions
获取按本地化名排序的国家地区列表
Locale
GET
/v1
/locales
获取支持用户定位信息的本地列表。
POST
/v1
/locales
/set-user-supported-locale
设置用户支持的本地。 null 支持的本地将清除用户支持的本地 (将用户支持的本地设置为 null)
GET
/v1
/locales
/supported-locales
获取支持的本地排序列表,按照 Native Name 属性排序。
GET
/v1
/locales
/supported-locales-for-creators
GET
/v1
/locales
/user-locale
获取用户本地。如果用户缺席返回,从 http 请求对象的本地。
GET
/v1
/locales
/user-localization-locus-supported-locales
获取每个用户的本地化位置支持的本地。支持本地化位置的本地是由国际团队定义的页(或一组页),需要独立的本地支持。如果用户为 null,我们将尝试返回适合用户设备语言的本地。
Models
Roblox.Locale.Api.CountryRegion
Roblox.Locale.Api.CountryRegionListResponse
Roblox.Locale.Api.Language
Roblox.Locale.Api.SetSupportedLocaleForUserRequest
Roblox.Locale.Api.SuccessResponse
Roblox.Locale.Api.SupportedLocale
Roblox.Locale.Api.SupportedLocaleLocus
Roblox.Locale.Api.SupportedLocalesResponse
Roblox.Locale.Api.UserLocaleResponse
Roblox.Locale.Api.UserLocalizationLocusLocalesResponse
Roblox.Web.WebAPI.Models.ApiArrayResponse[Roblox.Locale.Api.SupportedLocaleLocus]