Interface text is written in English in the templates and passed through t(). Catalogs in panel/lang/<code>.json map the English text to the translation; anything missing is shown in English.
php bin/i18n.php extractlists every translatable text inlang/strings.json.php bin/i18n.php statusshows how complete each language is.php bin/i18n.php pruneremoves translations of text that no longer exists.python3 lang/check.py <code>checks one catalog (all strings present,:placeholderskept).python3 bin/i18n-wrap.py <templates>wraps plain text in new templates witht().
Text with values uses placeholders: t('Certificate expired :date', ['date' => $d]). Keep product names, paths and commands in English.
To add a language, add its code and name to TivroPanel\Core\I18n::LANGUAGES and create lang/<code>.json.