Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit 0ddfce1

Browse files
committed
Fix load path for translations missing path elements
1 parent 0b64777 commit 0ddfce1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/i18n.js

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ i18n
2323
react: {
2424
wait: true,
2525
},
26+
27+
backend: {
28+
loadPath: `${process.env.PUBLIC_URL}/locales/{{lng}}/{{ns}}.json`,
29+
},
2630
});
2731

2832
export default i18n;

0 commit comments

Comments
 (0)