File size: 491 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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.