i18n_multilanguage_with_flags 0.2.0 copy "i18n_multilanguage_with_flags: ^0.2.0" to clipboard
i18n_multilanguage_with_flags: ^0.2.0 copied to clipboard

Generic Flutter i18n toolkit with language metadata, flag dropdowns, and language selection persistence.

0.2.0 #

  • Refactored API naming for app-agnostic usage:
    • secondaryLanguageId (alias for deprecated targetLanguageId)
    • displayName (alias for deprecated username)
    • setSecondaryLanguage(...) / setDisplayName(...)
  • Added generic UI widget:
    • I18nPreferencesForm
  • Kept backward compatibility wrapper:
    • deprecated I18nLanguageSelectionForm
  • Added translation file helpers for one-file-per-language workflows:
    • TranslationEntry
    • buildTranslationCatalog(...)
    • cloneTranslationCatalog(...)
    • mergeTranslationCatalogs(...)
  • Changed default storage keys to generic names:
    • i18n.ui_language_id
    • i18n.secondary_language_id
    • i18n.display_name
  • Added legacy key read compatibility (language, target_language, username, language_to_learn) and optional legacy write mirroring.
  • Reworked example/ to show separated translation files + aggregator.
  • Rewrote README to document a clean, generic implementation flow.

0.1.0 #

  • Added configurable catalog builder:
    • buildConfigurableLanguageCatalog(...)
    • include, exclude, and add/override support.
  • Added runtime language catalog management in controller:
    • upsertLanguage(...)
    • removeLanguage(...)
    • replaceLanguages(...)
    • hasLanguage(...)
  • Added publication metadata (homepage, repository, issue_tracker) in pubspec.yaml.
  • Improved pub.dev docs with full implementation guide and runtime examples.

0.0.1 #

  • Initial package structure for generic i18n with flags.
  • Added LanguageMetadata and defaultLanguageCatalog.
  • Added I18nMultilanguageController with translation fallback.
  • Added persistence with LanguageSelectionStorage.
  • Added reusable widgets:
    • FlagIcon
    • LanguageFlagDropdown
    • I18nLanguageSelectionForm
  • Added complete pub.dev documentation and implementation guide.
1
likes
160
points
145
downloads

Publisher

unverified uploader

Weekly Downloads

Generic Flutter i18n toolkit with language metadata, flag dropdowns, and language selection persistence.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

country_icons, flutter, shared_preferences

More

Packages that depend on i18n_multilanguage_with_flags