Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
|
Raw History Blame Contribute Delete
491 Bytes

Language UI State

Actions

###setLocale()

Change the locale of the application and, optionally, the locale variant of the application.

Reducers

The included reducers add the following keys to the global state tree, under ui.language:

###localeSlug

The value of the current locale slug ('en', 'fr'...)

###localeVariant

The locale variant refers to a subset of the locale, for example formal German (Sie) ('de_formal').

###isRtl

The isRtl state of the ui language.