We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e652b commit 8c4c2acCopy full SHA for 8c4c2ac
src/config/i18n.ts
@@ -2,8 +2,8 @@ import { initReactI18next } from 'react-i18next';
2
3
import i18n from 'i18next';
4
5
-import en from '../langs/en.json';
6
-import fr from '../langs/fr.json';
+import en from '../langs/en/main.json';
+import fr from '../langs/fr/main.json';
7
import { DEFAULT_LANG } from './constants';
8
9
export const defaultNS = 'translations';
src/langs/en.json src/langs/en/main.jsonsrc/langs/en.json renamed to src/langs/en/main.json
src/langs/fr.json src/langs/fr/main.jsonsrc/langs/fr.json renamed to src/langs/fr/main.json
0 commit comments