This commit is contained in:
parent
68e1abb4cb
commit
25b62de139
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ import { defineBoot } from '#q-app/wrappers';
|
||||||
import { createI18n } from 'vue-i18n';
|
import { createI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import messages from 'src/i18n';
|
import messages from 'src/i18n';
|
||||||
|
import { Lang } from 'src/utils/ui';
|
||||||
|
|
||||||
export type MessageLanguages = keyof typeof messages;
|
export type MessageLanguages = keyof typeof messages;
|
||||||
// Type-define 'eng' as the master schema for the resource
|
// Type-define 'eng' as the master schema for the resource
|
||||||
|
|
@ -26,7 +27,7 @@ export const i18n = createI18n<
|
||||||
MessageLanguages,
|
MessageLanguages,
|
||||||
false
|
false
|
||||||
>({
|
>({
|
||||||
locale: 'en-US',
|
locale: Lang.Thai,
|
||||||
legacy: false,
|
legacy: false,
|
||||||
messages,
|
messages,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue