setLocale()
Home > @gooddata/sdk-backend-spi > IUserSettingsService > setLocale
IUserSettingsService.setLocale() method
Set locale for the current user
Signature:
setLocale(locale: string): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
locale | string | IETF BCP 47 Code locale ID, for example "en-US", "cs-CZ", etc. |
Returns:
Promise<void>
promise