mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 16:51:33 +10:00
completed translation extraction of profile and work
This commit is contained in:
@ -1,19 +1,15 @@
|
||||
import i18n from 'i18next';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
|
||||
import leftSidebarEn from './locales/en/leftSidebar.json';
|
||||
import resources from './resources';
|
||||
|
||||
i18n.use(initReactI18next).init({
|
||||
lng: 'en',
|
||||
fallbackLng: 'en',
|
||||
resources,
|
||||
debug: true,
|
||||
resources: {
|
||||
en: {
|
||||
translations: leftSidebarEn,
|
||||
},
|
||||
},
|
||||
ns: ['translations'],
|
||||
defaultNS: 'translations',
|
||||
ns: ['app', 'leftSidebar'],
|
||||
defaultNS: 'app',
|
||||
});
|
||||
|
||||
export default i18n;
|
||||
|
||||
Reference in New Issue
Block a user