Choose the Studio language
Work in the Web Studio in your language: English, French, German, Italian or Spanish. Signed in, your choice is stored with your user on the PLC, so it follows you to every browser that opens this PLC’s Studio.
- Click the language button in the top bar, or open Tools > Language…. Each language is listed in its own name.
- Pick a language. Menus, toolbars, panels, data tables and the account bar in the status bar (your user, Users, Sign out) switch at once, without a reload.
Open data tables change in place: column titles, labels, the quick-filter placeholder, worded cells, row action buttons and the empty and loading texts. Sort, filters, quick filter and scroll stay. Dates, times and counts are written in the Studio’s language, not the browser’s. The key name “Tab” in the code editor’s help stays as printed on the key.
Signed in, the Studio also saves the choice to your user on the PLC. If the PLC refuses to save it, the reason is written to the Studio log; the Studio still uses the language in this browser. Signed out, the choice is remembered in this browser only.
After every sign-in, and when the Studio opens with a running session, the language stored with your user wins over the browser’s own choice and is remembered in that browser too. Without a stored language, the Studio starts in the browser’s choice, else the browser’s language when it is one of the five, else English.
Reload the Studio in the same menu redraws everything; it asks first, since edits not saved in an editor are lost (the PLC keeps running).
Where the choice is kept
Section titled “Where the choice is kept”The PLC keeps each user’s language in data/security/user_prefs.json (owner-only, no secret), written by plc-server and plc-runtime. The user is always the request’s own identity: an eaxScada account, or a local account of a standalone PLC.
GET /api/auth/prefsanswers{"lang":"fr"}(""without a choice).POST /api/auth/prefs {"lang":"fr"}saves it;""clears it. The body names no user (any other field is refused,400). Values: exactlyen,fr,de,it,esor empty, else400.- Any signed-in role may read and change its own language; no e-signature and no right is needed. A change needs the same origin (
403otherwise),application/jsonand at most 1 KiB. The AI co-pilot reads only. - An unreadable file is never overwritten: the change answers
503, and the other users’ choices stay. A value off the list in the file is never served.
See the route in the HTTP API reference.
Limits
Section titled “Limits”- Accounts with the same name share one entry. The language is stored by user name. On a PLC started with
--local-users-breakglass, a local account and an eaxScada account with the same name share one stored language. - In development mode (
EAX_DEV_MODE=1) every caller is the onedevidentity, so everyone shares one stored language.
Verify
Section titled “Verify”- Sign in, choose another language: the Studio and its account bar switch at once.
- Open the Studio from another browser and sign in with the same user: it opens in that language.