firebase_ui_localizations 1.13.0 firebase_ui_localizations: ^1.13.0 copied to clipboard
Localization package for firebase_ui_auth, firebase_ui_firestore and firebase_ui_database
Firebase UI Localizations #
Getting Started #
To get started with Firebase UI Localizations, please see the documentation.
Issues and feedback #
Please file Firebase UI specific issues, bugs, or feature requests in our issue tracker.
Contributing #
To contribute a change to this plugin, please review our contributing guide.
Adding a new language #
If you want to add a new language, make sure to add a relevant .arb
file into lib/i10n
.
- copy
lib/i10n/firebase_ui_en.arb
tolib/i10n/firebase_ui_<your-language-code>.arb
- translate labels
- run
dart run firebase_ui_localizations:gen_l10n
- commit the
.arb
and generated.dart
file - submit a PR
Adding a new label to existing languages #
If you want to add new labels to existing languages,
- Execute
dart run firebase_ui_localizations:add_label
:
dart run firebase_ui_localizations:add_label
Label name?: someNewLabel
Label description?: This will go to the doc comment of the label
English translation?: Some new label
Done!
- Execute
dart run firebase_ui_localizations:gen_l10n
- Commit the changes
- Submit a PR