Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Settings in Firebase UI When Using Vue #1080

Open
54Yunyun opened this issue Apr 25, 2024 · 1 comment
Open

Language Settings in Firebase UI When Using Vue #1080

54Yunyun opened this issue Apr 25, 2024 · 1 comment

Comments

@54Yunyun
Copy link

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

element in the DOM.
However, when I load the interface, the language setting automatically reverts to English.
Here is the relevant code snippet from my application:

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

@nkumawat34
Copy link

Can I work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants