Module app_i18n

Module app_i18n 

Source
Expand description

App UI strings for i18n: seeded into SQLite (app_i18n table) from i18n/app_i18n_en.json (toasts, menus, tray, HTML data-i18n*, dialogs). Locales cs, da, de, es, es-419, sv, fr, nl, pt, pt-BR, it, el, pl, ru, zh, ja, ko, fi, nb, tr, hu, ro, uk, vi, id, hi add rows with the same keys.

Staticsยง

SEED_JSON_CS ๐Ÿ”’
SEED_JSON_DA ๐Ÿ”’
SEED_JSON_DE ๐Ÿ”’
SEED_JSON_EL ๐Ÿ”’
SEED_JSON_EN ๐Ÿ”’
SEED_JSON_ES ๐Ÿ”’
SEED_JSON_ES_419 ๐Ÿ”’
SEED_JSON_FI ๐Ÿ”’
SEED_JSON_FR ๐Ÿ”’
SEED_JSON_HI ๐Ÿ”’
SEED_JSON_HU ๐Ÿ”’
SEED_JSON_ID ๐Ÿ”’
SEED_JSON_IT ๐Ÿ”’
SEED_JSON_JA ๐Ÿ”’
SEED_JSON_KO ๐Ÿ”’
SEED_JSON_NB ๐Ÿ”’
SEED_JSON_NL ๐Ÿ”’
SEED_JSON_PL ๐Ÿ”’
SEED_JSON_PT ๐Ÿ”’
SEED_JSON_PT_BR ๐Ÿ”’
SEED_JSON_RO ๐Ÿ”’
SEED_JSON_RU ๐Ÿ”’
SEED_JSON_SV ๐Ÿ”’
SEED_JSON_TR ๐Ÿ”’
SEED_JSON_UK ๐Ÿ”’
SEED_JSON_VI ๐Ÿ”’
SEED_JSON_ZH ๐Ÿ”’

Functionsยง

load_merged
Merge English with locale (falls back to English for missing keys).
seed_defaults
Insert default locale rows (INSERT OR REPLACE on (key, locale) primary key) on every migration so shipped i18n/app_i18n_*.json values stay current. There is no separate UI to edit app_i18n rows; the catalog is the source of truth.
seed_locale ๐Ÿ”’