Service Layer medium complexity mobile
1
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Core i18n service that registers Northern Sami ARB files with Flutter's flutter_localizations and intl package. Manages locale registration, string resolution, and exposes a completeness flag consumed by the Locale Selector Widget to prevent partial translations from shipping. Designed with a pluggable locale registration pattern to accommodate future Sami language variants.

Feature: Sami Language Support

sami-localization-bundle

Responsibilities

  • Register the Northern Sami locale (se) with Flutter's LocalizationsDelegate
  • Load and resolve ARB-backed strings for all UI text, error messages, onboarding content, and notification copy
  • Expose a translation completeness flag to gate locale visibility in the selector widget
  • Provide a fallback chain to Norwegian Bokmål for untranslated strings during active development
  • Support future Sami language variants via pluggable locale registration

Interfaces

getSupportedLocales() → List<Locale>
isLocaleAvailable(Locale locale) → bool
getLocalizationsDelegate() → LocalizationsDelegate
currentLocale() → Locale
setLocale(Locale locale) → Future<void>
getFallbackLocale() → Locale

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component