GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.1.0
  • Code samples
  • GitHub

setFormatLocale()

Home > @gooddata/sdk-backend-spi > IUserSettingsService > setFormatLocale

IUserSettingsService.setFormatLocale() method

Set format locale for the current user

Signature:

setFormatLocale(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

  • IUserSettingsService.setFormatLocale() method
  • Parameters
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use