lokalise / i18n-ally

🌍 All in one i18n extension for VS Code
https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally
MIT License
3.79k stars 301 forks source link

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

Open eachann1024 opened 1 month ago

eachann1024 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

I also encountered a similar issue.

chenyuyou1 commented 1 week ago

俺也一样