mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 01:01:43 +10:00
added settings tab, add language chooser
This commit is contained in:
@ -3,6 +3,13 @@ import { initReactI18next } from 'react-i18next';
|
||||
|
||||
import resources from './resources';
|
||||
|
||||
const languages = [
|
||||
{
|
||||
code: 'en',
|
||||
name: 'English',
|
||||
},
|
||||
];
|
||||
|
||||
i18n.use(initReactI18next).init({
|
||||
lng: 'en',
|
||||
fallbackLng: 'en',
|
||||
@ -12,4 +19,6 @@ i18n.use(initReactI18next).init({
|
||||
defaultNS: 'app',
|
||||
});
|
||||
|
||||
export { languages };
|
||||
|
||||
export default i18n;
|
||||
|
||||
Reference in New Issue
Block a user