firebaseui-web
firebaseui-web copied to clipboard
Language Settings in Firebase UI When Using Vue
Dear Developer Team,
I am experiencing an issue with the Firebase UI when using Vue. Despite setting the language to Chinese, the interface does not reflect this change and defaults to English.
Here is a brief overview of the situation:
I have configured the lang="zh-TW" attribute in the
javascript Copy code
const ui = firebaseui.auth.AuthUI.getInstance() || new firebaseui.auth.AuthUI(firebase.auth());
ui.languageCode = "zh-TW";
Despite the explicit language setting (ui.languageCode = 'zh-TW';), the UI reverts to English when loaded. I suspect there might be a problem with how the language settings are being applied or overridden within the Firebase UI configuration when used in a Vue application. Could you please provide guidance on how to ensure the UI consistently respects the set language preference?
Thank you for your attention to this matter. I look forward to your prompt response and a possible solution.
Best regards, Yuna