Repository navigation
🐛 No localization for the error text if the email or password is wrong #418
Description
Activity
- changed the title
[-]🐛 MacOS no localization for the error text if the email or password is wrong[/-][+]🐛 No localization for the error text if the email or password is wrong[/+]on Oct 23, 2024 MaterialApp( localizationsDelegates: [ FirebaseUILocalizations.withDefaultOverrides(const LabelOverrides()), ], home: AuthGate(appConfig: appConfig),- addedNeeds AttentionOP created or responded to issue and it needs attention.OP created or responded to issue and it needs attention.
on Oct 23, 2024 Also, is this project being officially supported by anyone? @russellwheatley / @lesnitsky perhaps you know?
@atreeon - here are the error codes we currently support: https://github.com/firebase/FirebaseUI-Flutter/blob/main/packages/firebase_ui_auth/lib/src/widgets/error_text.dart#L13-L36
If you wish, you could open a PR for the particular error code you wish to have language support.
failing that, you can actually customise your own error codes following the instructions set out here: https://github.com/firebase/FirebaseUI-Flutter/blob/main/packages/firebase_ui_auth/lib/src/widgets/error_text.dart#L42-L54
- removedNeeds AttentionOP created or responded to issue and it needs attention.OP created or responded to issue and it needs attention.
on Oct 25, 2024 - addedNeeds AttentionOP created or responded to issue and it needs attention.OP created or responded to issue and it needs attention.
on Oct 25, 2024 - addedenhancementNew feature or requestNew feature or requestblocked: customer responseWaiting for customer response, e.g. more information was requested.Waiting for customer response, e.g. more information was requested.and removedNeeds AttentionOP created or responded to issue and it needs attention.OP created or responded to issue and it needs attention.
on Oct 25, 2024 Unfortunately I don't have the time to open a PR at the moment but maybe early next year. Keep open please (personally I'd have categorised this as a bug).
- addedNeeds AttentionOP created or responded to issue and it needs attention.OP created or responded to issue and it needs attention.
on Nov 5, 2024 - addedblocked: customer responseWaiting for customer response, e.g. more information was requested.Waiting for customer response, e.g. more information was requested.and removedblocked: customer responseWaiting for customer response, e.g. more information was requested.Waiting for customer response, e.g. more information was requested.Needs AttentionOP created or responded to issue and it needs attention.OP created or responded to issue and it needs attention.
on Nov 12, 2024 Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time. Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
- addedKeep OpenKeep PR or issue openKeep PR or issue openand removedStaleIssue with no recent activityIssue with no recent activity
on Dec 11, 2024 So there is no possibility to translate the error message that is shown when a wrong password is entered? (which seems the most common error message that can occur on a login screen)
wrongOrNoPasswordErrorText is not used in this case. The message would be "The password is invalid or the user does not have a password"
I'm using email/password authentication and if i enter a wrong password (for an existing auth user) then i get the message "The supplied auth credential is malformed or expired"- which is a message directly from firebase auth. So it seems the error codeinvalid-credentialfor this message is not handled by firebase_ui_localization.Please add support for error code "invalid-credential".
@russellwheatley Any Updates on this?
Is there an existing issue for this?
What plugin is this bug for?
Firebase UI Auth
What platform(s) does this bug affect?
macOS
List of dependencies used.
firebase_core: ^3.6.0
firebase_auth: ^5.3.1
firebase_ui_auth: ^1.16.0
firebase_crashlytics: ^4.1.3
google_sign_in: ^6.2.1
firebase_ui_oauth_google: ^1.4.0
Steps to reproduce
Login with an incorrect email address.
Expected Behavior
After overriding every localization it seems that nothing sets the error message.
Actual Behavior
Additional Information
No response