perf: standardized localized file names
This commit is contained in:
parent
64895a98af
commit
4e38978711
|
@ -1,4 +1,4 @@
|
||||||
import en from './en'
|
import en from './en-us'
|
||||||
import zh from './zh-cn'
|
import zh from './zh-cn'
|
||||||
|
|
||||||
export const lang = {
|
export const lang = {
|
||||||
|
|
|
@ -2,8 +2,8 @@ import { createI18n } from 'vue-i18n'
|
||||||
import { lang } from '@/langs/index.js'
|
import { lang } from '@/langs/index.js'
|
||||||
|
|
||||||
export const i18n = createI18n({
|
export const i18n = createI18n({
|
||||||
locale: 'en',
|
locale: 'en-us',
|
||||||
fallbackLocale: 'en',
|
fallbackLocale: 'en-us',
|
||||||
globalInjection: true,
|
globalInjection: true,
|
||||||
legacy: false,
|
legacy: false,
|
||||||
messages: {
|
messages: {
|
||||||
|
|
Loading…
Reference in New Issue