initial commit

This commit is contained in:
ferdiansyah783
2025-08-05 12:35:40 +07:00
commit fffa2ead5c
1069 changed files with 118056 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
// Type Imports
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)
}
export const getDictionary = async (locale: Locale) => dictionaries[locale]()