flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

🐛 [flutterfire_ui] Missing localization in profile_screen

Open przemek-lagan opened this issue 3 years ago • 1 comments

Bug report

There are six hardcoded messages in english in profile_screen, concerning verification e-mail. It is impossible to override them when making localization, that is not supported yet.

Steps to reproduce

Go to ProfileScreen with unverified account and locale other than English. Look in profile_screen.dart for 'Email is not verified' strings etc.

Expected behavior

Strings should be replaced with labels (l.variablename).

Sample project

I've corrected the strings in my fork of flutterfire, but my solution lacks translations for supported languages. Also, that could be a breaking change, as the labels are required, depending of localization method used.

przemek-lagan avatar Sep 06 '22 12:09 przemek-lagan

Thanks for the report @przemek-lagan I think there was an active PR to add localization https://github.com/firebase/flutterfire/pull/8366/files but seem to have been closed. You may keep an eye on it if it gets reopened.

I'll label this issue for now.

darshankawar avatar Sep 07 '22 06:09 darshankawar