Skip to content

Language Settings in Firebase UI When Using Vue #1080

Open
@54Yunyun

Description

@54Yunyun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions