Skip to content

Commit 6388374

Browse files
committed
use messages dir name instead of locales
1 parent d0a2fb1 commit 6388374

File tree

5 files changed

+1
-1
lines changed

5 files changed

+1
-1
lines changed

lib/i18n/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export type Locale = (typeof validLocales)[number];
77

88
i18next
99
.use(initReactI18next)
10-
.use(resourcesToBackend((language: string, namespace: string) => import(`./locales/${language}/${namespace}.json`)))
10+
.use(resourcesToBackend((language: string, namespace: string) => import(`./messages/${language}/${namespace}.json`)))
1111
.init({
1212
supportedLngs: validLocales,
1313
fallbackLng: 'en',

0 commit comments

Comments
 (0)