-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
There is currently no easy way to add a couple of CDNs for several languages of the UI, then load the correct UI based on a parameter.
The page is in a certain language, how to make sure the correct UI gets used even after the user chooses a different language?
My suggestion is to make it so, the UI with the language can be chosen like so after adding those languages as CDN:
var uiJA = new firebaseui.ja.auth.AuthUI(firebase.auth());
var uiEN = new firebaseui.en.auth.AuthUI(firebase.auth());
or even firebaseui_ja
or something.
Now, no matter how many different CDNs with languages, they all point to the same variable: firebaseui
so it's difficult to change that after the user switches languages. (especially talking about SPA's with vueJS)
shihokambara, ymoreiratiti, mpoehler, davemecha, laurentpayot and 10 more