firebase_ui_localizations
3.0.0, released 4 days ago by firebase.google.com
Provides localized strings for Firebase UI Auth, Firestore and Database widgets.
WASM-ready
What it does
The package supplies ready‑made translations for Firebase UI components and a workflow to add new languages. It integrates with Flutter's localization system so UI widgets automatically display the correct language.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are using firebase_ui_auth, firebase_ui_firestore or firebase_ui_database and need multilingual support out of the box.
- You want a simple way to add or extend translations without writing your own localization files.
Skip it when
- You already have a custom localization solution covering all needed strings.
- The app only targets a single language and adding this package adds unnecessary overhead.
Strengths
- Ready‑made translations for many locales
- Simple CLI tools to add labels or new languages
- Keeps localization in sync with Firebase UI updates
Weaknesses
- Tied to specific Firebase UI versions; breaking changes may require updates
- Limited to the strings provided by Firebase UI
- Adds a code‑gen step to the build process
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Add the package, then run `dart run firebase_ui_localizations:gen_l10n` (or `add_label` then `gen_l10n`) to generate the localization files.
Works with
Packages commonly used together with firebase_ui_localizations: ones it builds on, ones built on it, and its own family.
- firebase_coreSame familyFlutter plugin that initializes Firebase and allows multiple Firebase app connections.
- firebase_core_webSame familyWeb implementation of firebase_core for Flutter apps.
- firebase_messagingSame familyFlutter plugin for Firebase Cloud Messaging to deliver messages on Android, iOS, web, and macOS.
- firebase_messaging_webSame familyWeb implementation of Firebase Cloud Messaging for push notifications.
- firebase_analyticsSame familyFlutter plugin for Google Analytics for Firebase.
- firebase_crashlyticsSame familyFlutter plugin that sends uncaught errors and crash reports to Firebase Crashlytics.
- firebase_authSame familyFlutter plugin for Firebase Authentication enabling passwords, phone numbers, and identity providers.
- firebase_auth_webSame familyWeb implementation of Firebase Authentication for Flutter