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

Vue-i18n for Chinese Simplified and Traditional, but it only recognizes zh and en. #1172

Open
eachann1024 opened this issue Jun 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@eachann1024
Copy link

eachann1024 commented Jun 25, 2024

I've been researching for and it still doesn't work.

Image_2024-06-25_17-57-13

Image_2024-06-25_17-57-25

@eachann1024 eachann1024 added the bug Something isn't working label Jun 25, 2024
@eachann1024
Copy link
Author

This is a minimum code sample

import { createI18n } from 'vue-i18n'
const i18n = createI18n({
  legacy: false,
  locale:zh_HK,
  fallbackLocale: 'en',
  // availableLocales: ['en', 'zh_CN', 'zh_HK'],
  messages: {
    zh_CN:{}
    zh_HK:{},
    en:{},
  },
})

@cike8899
Copy link

I also encountered a similar issue.

@chenyuyou1
Copy link

俺也一样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants