add indonesian lang
This commit is contained in:
@@ -3,8 +3,7 @@ import type { Locale } from '@configs/i18n'
|
||||
|
||||
const dictionaries = {
|
||||
en: () => import('@/data/dictionaries/en.json').then(module => module.default),
|
||||
fr: () => import('@/data/dictionaries/fr.json').then(module => module.default),
|
||||
ar: () => import('@/data/dictionaries/ar.json').then(module => module.default)
|
||||
id: () => import('@/data/dictionaries/id.json').then(module => module.default)
|
||||
}
|
||||
|
||||
export const getDictionary = async (locale: Locale) => dictionaries[locale]()
|
||||
|
||||
Reference in New Issue
Block a user