Skip to content

setLocale

Description

Force la locale de la session actuelle.

Schéma

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "description": "This json schema gives prototype of action setLocale",
    "title": "Action setLocale",
    "type": "object",
    "properties": {
        "action": {
            "const": "setLocale",
            "description": "Name of the action",
            "type": "string"
        },
        "params": {
            "description": "Parameters of current action",
            "type": "object",
            "properties": {
                "locale": {
                    "description": "New locale to use in session",
                    "type": "string"
                }
            },
            "required": [
                "locale"
            ]
        }
    },
    "required": [
        "action",
        "params"
    ],
    "$id": "https://ewt.epilogic.ch/action.setlocale.schema.json"
}