Skip to content

v2.4.0 — Multi-language / i18n Support

Choose a tag to compare

@hokiepokedad2 hokiepokedad2 released this 09 Apr 14:39
· 59 commits to main since this release

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 controlallowed_languages site 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/core v17, @ngx-translate/http-loader v17
  • New assets: src/assets/i18n/*.json (11 translation files), src/assets/flags/*.svg (11 flag icons)
  • Optional: Set allowed_languages in Admin → Settings → Features to restrict available languages

Full Changelog: v2.3.0...v2.4.0