i18n: localize posts

This commit is contained in:
Xylight committed 2024-06-03 15:49:03 -07:00
1 parent 64107e51a0
commit c4236fa124
9 files changed
+110 -31

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ const config: Config = {
loader: async () => (await import('./i18n/en.json')).default,
},
],
fallbackLocale: 'en',
}
export const { t, locale, locales, loading, loadTranslations } = new i18n(