setLocale()
Home > @gooddata/sdk-backend-spi > IOrganizationSettingsService > setLocale
IOrganizationSettingsService.setLocale() method
Sets locale for current workspace.
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