Skip to content

Locale ⚠️ Experimental

The Locale component can be used imported from:

Playground

Parameters

Parameters use

Check the documentation about how to use the parameters.

value-key

It's the key of the value to be displayed. In case of nested values, the keys should be separated by a dot.

INFO

The values are coming from the ZDS_LOCALES window variable. Have a look to the mechanisms in here

locale

The locale to be used. If not set, the default locale of the browser will be used.

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

CodeSandbox example

Sorry, not available yet ☹️