18 lines
365 B
TypeScript
18 lines
365 B
TypeScript
/**
|
|
* @file i18n.config.ts
|
|
* @description Vue I18n configuration for the E-Learning Platform.
|
|
* Supports Thai (th) and English (en) locales.
|
|
*/
|
|
|
|
import th from './i18n/locales/th.json'
|
|
import en from './i18n/locales/en.json'
|
|
|
|
export default defineI18nConfig(() => ({
|
|
legacy: false,
|
|
locale: 'th',
|
|
fallbackLocale: 'th',
|
|
messages: {
|
|
th,
|
|
en
|
|
}
|
|
}))
|