Mobile App
Localization

Localization

  1. Dependencies:

    • Ensure the flutter_localizations package is added to your pubspec.yaml.
  2. Configuration:

    • Localization files are located in lib/l10n/*.arb. Add .arb files for each language you want to support.
  3. Usage:

    • The app supports English and French. Use the AppLocalizations class to get localized strings, e.g., AppLocalizations.of(context)!.appTitle. After adding new keys to any language file, run flutter gen-l10n.