Sami Translations Store
Component Detail
Data Layer
low complexity
mobile
0
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Persists the user's selected locale preference to local storage (shared_preferences) and restores it on app launch so the language choice survives restarts. Also manages the ARB translation file references for Sami language variants and provides the data layer that the Localization Service queries for available Sami locales.
sami-translations-store
Responsibilities
- Persist user locale preference to shared_preferences
- Restore saved locale on app launch before first frame renders
- Provide metadata about available Sami locale ARB files
- Clear or reset locale preference when user switches back to default
Interfaces
saveLocalePreference(locale)
loadLocalePreference()
clearLocalePreference()
getAvailableSamiLocales()
hasStoredPreference()
Relationships
Dependents (2)
Components that depend on this component