Localization
Notice
This page is archived and might not reflect the latest version of the FlutterFire plugins. You can find the latest information on GitHub:
https://github.com/firebase/flutterfire/blob/master/packages/flutterfire_ui/doc/auth/localization.md
FlutterFire UI for Auth supports localization, so every single text label can be customized.
If your app supports only a single language, and you want to override labels โ you will need to provide a custom class that implements DefaultLocalizations
,
for example:
Once created, pass the instance of LabelOverrides
to the localizationsDelegates
list in your MaterialApp
/CupertinoApp
:
If you need to support multiple languages โ follow the official flutter localization guide
and make sure that your custom delegate extends LocalizationsDelegate<FlutterFireUILocalizations>
.
Note: check out API reference to learn what labels are used by specific widgets