feat: Implement internationalization (i18n) with language switching and establish core backend services and frontend pages for course management.
This commit is contained in:
parent
6a05e6fdb6
commit
dbf62feea9
13 changed files with 3195 additions and 1463 deletions
9
Frontend-Learner/i18n.config.ts
Normal file
9
Frontend-Learner/i18n.config.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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 }
|
||||
}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue