Skip to content

Localization (Dicts)

Some DVs include a dicts array that provides translations for static text widgets. The active language is controlled by devcfg.ui.lang.

  1. A static widget’s value is a key (e.g., "system_config"), not the final displayed text.
  2. The device looks up that key in the active language’s dictionary.
  3. The dictionary’s value replaces the widget’s value at render time.
DV Languages Keys translated
syscfg en, fr, de system_config, lang, lock_enable, log_level, etc.
sysctrl en, fr, de system_controls
sysinfo en, fr, de system_sensors, system_versions, system_ids, YES/NO
allocated_home en only orient values: FU, FD, UK, VU, VD, EU, ED -> ALERT/OK
Code Language Used in
en English All dict‑enabled DVs
fr French syscfg, sysctrl, sysinfo
de German syscfg, sysctrl, sysinfo

The language is changed via the devcfg.ui.lang widget in syscfg. The format is code:Label:Active (e.g., en:English:1,fr:Francais:0). The 1 indicates the active language.