我们将于 2024 年 7 月 31 日逐步淘汰 Google Business Messages。点击
此处了解详情。
语言区域
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
语言区域是一种基于位置的语言设置,用于确定要显示哪些对话设置和字符串。
用户使用设备上的设置指定其语言区域。他们可以随时更改此设置,包括在与商家信息客服人员对话期间。
Business Messages 代理或营业地点还可以指定其支持的语言区域,并设置其沟通时经常使用的默认语言区域。
Business Messages 会比较用户的语言区域与客服人员的语言区域,以确定最佳匹配项(称为经过解析的语言区域)。Business Messages 使用经过解析的语言区域来选择要显示的对话设置和字符串。最佳实践是让代理使用经过解析的语言区域进行沟通,以确保一致的用户体验。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eLocales are location-based language settings that users set on their devices to determine conversational preferences.\u003c/p\u003e\n"],["\u003cp\u003eBusiness Messages agents can specify supported locales and a default communication language.\u003c/p\u003e\n"],["\u003cp\u003eA resolved locale, determined by comparing user and agent preferences, dictates displayed conversational elements.\u003c/p\u003e\n"],["\u003cp\u003eAgents should communicate using the resolved locale for a consistent and seamless user experience.\u003c/p\u003e\n"]]],[],null,["# Locale\n\nA locale is a location-based language setting that determines which\nconversational settings and strings to display.\n\nThe user specifies their locale using settings on their device. They may change\nthis setting whenever they wish, including during a conversation with a Business\nMessages agent.\n\nA Business Messages agent or location can also specify which locales they\nsupport and set a default locale that they usually communicate in.\n\nBusiness Messages compares the user's locale and the agent's locale to determine\nthe best match, called the *resolved locale*. Business Messages uses the\nresolved locale to select which conversational settings and strings to display.\nIt's best practice for agents to communicate in the resolved locale to maintain\na consistent user experience.\n\nRelated guides\n--------------\n\n- [Localization and locales](/business-communications/business-messages/guides/how-to/agents/localization)\n- [Begin the conversation](/business-communications/business-messages/guides/how-to/agents/begin-conversation)"]]