Open ScreamZ opened 4 years ago
I am developing an app for users in Switzerland, using firebase auth. I can configure email to arrive in German. But the Login pops up in English and that is not adjustable?
Somehow this makes me think that firebase auth could be the next service that Google will suddenly kill. It certainly does not look like it gets a lot of love.
Google may not have realized, but most of the world speaks other languages. In Switzerland we speak four (I myself three of them). And none of them is English.
So I guess I will have to use a different service.
Hey @barbalex, please follow the instructions on localization as documented in the README. We have supported localization for years. Google does realize the importance of supporting non-English languages.
@bojeil-google Please tell me how I should do that in a Gatsby app using firebaseui-web-react. There is an issue about this here: https://github.com/firebase/firebaseui-web-react/issues/21.
Plus: This issue would enable using your own wording. For instance: German is not the same as Swiss German. And not every app would want to use the same sentences. A more flexible approach would help a lot.
Please don't understand me wrong: I am not trying to talk firebase auth bad. I am trying to use it instead of auth0. Which was WAY to complicated. So far I have really enjoyed the dev experience with firebase auth. This has been the first hickup.
Yeah, but how am I going to integrate the rebuilt version with firebaseui-web-react? (or probably vue or angular)
I will reach out to colleagues who own the react version to respond to your question. Unfortunately, I am not the react expert. It may be hard to perceive, but even Firebase has limited resources. We have tons of things we are working on which we think offer great value to our developers and that developers will love. This means we have to prioritize things on our end and shift resources from one place to another. That sometimes also means we can't build everything that gets requested (at least not in the timelines that people expect) and we do get a lot of requests.
They (or is that them?) have contacted you here https://github.com/firebase/firebaseui-web-react/issues/21#issuecomment-371528237 requesting npm-versions of the localizations. That was two years ago and nothing has changed.
This issue proposes another solution that might be even better.
I realize that not everything is possible. Thanks anyway for your feedback.
@barbalex for gatsby-specific localization questions, please file a new issue in firebaseui-web-react and @ me so that I can help without cluttering this thread. Let's keep this issue focused on the original feature request to make firebaseui-web itself more configurable.
Guys let's do something with this, please. It's a shame.
As I mentioned here: https://github.com/firebase/firebaseui-web-react/issues/21#issuecomment-987801917. The community can help, if you will prepare the battle plan 🙏
In 2020, localization is not an option anymore
It's a first-class feature that is required in almost every project.
I know that firebase is free, but still… I'm paying for services due to my usage. I think this would be a great thing for both firebase platform and users to be able to translate this module correctly. You'll reach more developers and we would be even happier to build apps ;)
This is not something very hard I guess when we know the technical level of people like @CodingDoug @jenperson @ToddKerpelman and many others @ firebase (ping @nicolasgarnier).
Problem with current configuration
I don't think many people keep using the UMD CDN build, most people build their app using react/vue or even angular… (I'm sorry WordPress users 😅)
Everything gets packaged in something like webpack or rollup… ES6 / CommonJS is a need.
If you have a multi-localized app, it's not scalable. You can't even simply update the lib to leverage patches.
Simple Solution
signInFlow
currently, we could have atranslations
which will be dynamically injected by us, depending on any context.I would be very happy to help with that, but I think It would be quicker for me to rework all of this with react-js due to the complexity of the code here Ahah 😅 But even though, I can help on some parts (@nicolasgarnier if you need some help on react)
Best wishes for this Christmas,
Andréas