I’m working on an app using the firebase_ui_auth package for authentication, and I need to customize and translate the text displayed on the SignInScreen to French. Specifically, I want to provide a localized experience for my French-speaking users.
I’ve already integrated the firebase_ui_auth package, and the SignInScreen is working as expected. However, I’m not sure how to proceed with customizing and translating the text.
Can someone please guide me on how to achieve the following:
- Customize the text displayed on the SignInScreen (e.g., changing "Sign in with Google" to "Se connecter avec Google").
- Ensure that the text is translated into French for a localized experience.
Any code snippets or step-by-step instructions would be greatly appreciated. Thank you!
From looking at the example on pub.dev, it looks like FirebaseUI picks up the locale that you specify with:
locale: const Locale('en')
Answered By – Frank van Puffelen
Answer Checked By – Willingham (FlutterFixes Volunteer)