GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

setLocale()

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

IUserSettingsService.setLocale() method

Set locale for the current user

Signature:

setLocale(locale: string): Promise<void>;

Parameters

ParameterTypeDescription
localestringIETF BCP 47 Code locale ID, for example "en-US", "cs-CZ", etc.

Returns:

Promise<void>

promise

  • IUserSettingsService.setLocale() 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