firebaseui-web icon indicating copy to clipboard operation
firebaseui-web copied to clipboard

Bug trying to set language

Open YonatanZviLevy opened this issue 2 years ago • 3 comments

I am trying to set the language through the start function, And nothing just happens, This is in React project version 18,

ui.start('#loginFireBase',{
        signInOptions: [
               //Entry possible...
        ],
        language: "he", //Setting the language to Hebrew
   });

YonatanZviLevy avatar Feb 27 '23 10:02 YonatanZviLevy

Hi @YonatanZviLevy Looks like the only way to change the languages is importing libraries via CDN: https://github.com/firebase/firebaseui-web#localized-widget

I was not able to find another way. The worse is that looks you can not import it via npm.

This is a know and annoying limitation. Really disappointing.

angelcervera avatar Mar 21 '23 07:03 angelcervera

What if I need to change the language in a SPA? Do I need to reload the page just for setting another language?

bragma avatar Apr 18 '23 19:04 bragma