v2.4.0 — Multi-language / i18n Support
What's New
Full internationalization support with 11 UI languages matching the original PoracleWeb PHP: English, French, German, Spanish, Dutch, Italian, Portuguese, Brazilian Portuguese, Polish, Danish, Swedish.
Highlights
- Runtime language switching — change language instantly from the user menu, no page reload
- Browser auto-detection — first visit auto-detects preferred language
- SVG country flags — crisp flag icons in the language selector
- Admin control —
allowed_languagessite setting restricts available languages - 12,331 translated strings — 1,121 keys per language across every page, dialog, tooltip, and snackbar
- Help guide fully translated — all 17 sections with rich HTML content
- Fallback detection — amber "English" chip on untranslated sections
- Shared pipes i18n — league, gender, lure, team, distance pipes use translated output
- Admin settings i18n — 106 setting labels and descriptions translatable
- I18nService tests — 11 unit tests for the core service
- MkDocs docs — i18n feature page + custom landing page
Upgrade Notes
- No database changes required
- New npm dependency:
@ngx-translate/corev17,@ngx-translate/http-loaderv17 - New assets:
src/assets/i18n/*.json(11 translation files),src/assets/flags/*.svg(11 flag icons) - Optional: Set
allowed_languagesin Admin → Settings → Features to restrict available languages
Full Changelog: v2.3.0...v2.4.0