Skip to content

Commit 8c4c2ac

Browse files
authored
refactor(langs): modify translations files hierarchy (#166)
1 parent 65e652b commit 8c4c2ac

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/config/i18n.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { initReactI18next } from 'react-i18next';
22

33
import i18n from 'i18next';
44

5-
import en from '../langs/en.json';
6-
import fr from '../langs/fr.json';
5+
import en from '../langs/en/main.json';
6+
import fr from '../langs/fr/main.json';
77
import { DEFAULT_LANG } from './constants';
88

99
export const defaultNS = 'translations';

0 commit comments

Comments
 (0)