refactor(i18n): move translations to JSON locale files
- Extract 1149 translation keys from i18n.py into locales/ru.json and locales/en.json - Rewrite i18n.py as a lightweight JSON loader (5287 → 128 lines) - Add I18nService.reload() for runtime hot-reload without restart - Add I18nService.available_languages() to list loaded language codes - Public API unchanged: t(), get(), get_all(), add_translation() - New languages require only a new *.json file in locales/ — no code changes Bump version: 1.1.6 → 1.1.7
This commit is contained in:
1151
backend/app/locales/en.json
Normal file
1151
backend/app/locales/en.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user