firebase / firebase/FirebaseUI-Android
[Auth-UI][v10.0.0-beta04] Phone auth error dialog ignores AuthUIStringProvider — messages always come back in English
@demolaf ya está trabajando en esto.
Desde el 10/9/2026.
- Lenguaje dominante
- Kotlin
- Estrellas
- 4.8k
- Forks
- 1.9k
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 42
Descripción
Steps to reproduce:
- Host PhoneAuthScreen and provide a locale-aware provider via both LocalAuthUIStringProvider and LocalTopLevelDialogController, exactly as documented in the Localization README:
DefaultAuthUIStringProvider(context, Locale.JAPAN) - On the enter-phone-number step, enter a malformed number and tap the send/next button.
- Observe the ErrorRecoveryDialog shown by
dialogController.CurrentDialog()
-
error.messageover resources forInvalidCredentialsException, UnknownException, PhoneVerificationCooldownException, EmailAlreadyInUseException and AccountLinkingRequiredException
it builds DefaultAuthUIStringProvider(context) with no locale, so it uses the device locale -
values-zh-rTWshipsfui_error_dialog_title = "Authentication Error"andfui_error_retry_action = "Try again"untranslated, whilefui_email_link_dismiss_button = 「關閉」is translated. On a zh-TW device the dialog is mixed-language even when the provider works correctly.values-ja and values-kohave all three.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.