We will be winding down Google Business Messages on July 31, 2024. Read more
here.
Locale
Stay organized with collections
Save and categorize content based on your preferences.
A locale is a location-based language setting that determines which
conversational settings and strings to display.
The user specifies their locale using settings on their device. They may change
this setting whenever they wish, including during a conversation with a Business
Messages agent.
A Business Messages agent or location can also specify which locales they
support and set a default locale that they usually communicate in.
Business Messages compares the user's locale and the agent's locale to determine
the best match, called the resolved locale. Business Messages uses the
resolved locale to select which conversational settings and strings to display.
It's best practice for agents to communicate in the resolved locale to maintain
a consistent user experience.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-14 UTC."],[[["Locales are location-based language settings that users set on their devices to determine conversational preferences."],["Business Messages agents can specify supported locales and a default communication language."],["A resolved locale, determined by comparing user and agent preferences, dictates displayed conversational elements."],["Agents should communicate using the resolved locale for a consistent and seamless user experience."]]],[]]