smart_localization library

Classes

LocalizationCacheService
Service for caching translations locally using SharedPreferences.
MapTranslationBackend
A simple in-memory translation backend using a Map.
SmartLocalization
Smart Localization service — the main entry point.
SmartLocalizationConfig
Configuration for the Smart Localization service.
TranslationBackend
Abstract interface for translation data providers.
TranslationData
Data model representing translations fetched from a backend.

Extensions

SmartLocalizationExtension on BuildContext
Extension for easy translation access in widgets.