🌍 localization_sheet

Remote localization made simple — fetch translations from Google Sheets, cache them locally, and access them via .tr() syntax, all while respecting Flutter’s locale system.

Pub Version Flutter License: MIT


✨ Features

  • Remote translation from Google Sheets (CSV export)
  • 🧠 Automatic caching with SharedPreferences
  • 🌐 Locale-aware: tied to MaterialApp.locale
  • 🧩 Simple syntax: 'key'.tr()
  • 🛠 Easily extendable, lightweight and offline-friendly

🧾 Example Google Sheet Format

Here’s how your Google Sheet should look (exported as CSV):

Sheet Example

🚀 Quick Start

1. Add dependency

dependencies:
  localization_sheet: ^0.0.3
  flutter_localizations:
    sdk: flutter

Libraries

localization_sheet