en).
Syntax
Parameters
A locale string representing the desired language and region. For the supported locales, see Supported locales.
Returns
Promise<void>
A promise that resolves when the locale is updated.
Examples
The following examples show different ways to change the locale:Considerations
Supported locales
| Language | Language Code |
|---|---|
| Chinese - Simplified | zh-CN |
| Chinese - Traditional | zh-TW |
| English | en |
| French | fr |
| German | de |
| Italian | it |
| Japanese | ja |
| Korean | ko |
| Portuguese - Brazil | pt-BR |
| Spanish | es |
Do you need practical examples?
Learn how to apply the features available for embedded chat into your implementation with guidance and examples.

