Skip to content

Commit 0103322

Browse files
fix: make the translations path relative instead of absolute
1 parent 3dec9cb commit 0103322

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const initI18n = async (): Promise<void> => {
77
await i18next.use(Backend).init({
88
fallbackLng: 'en',
99
backend: {
10-
loadPath: '/locales/{{lng}}/{{ns}}.json'
10+
loadPath: 'locales/{{lng}}/{{ns}}.json'
1111
}
1212
})
1313
}

0 commit comments

Comments
 (0)