|
@@ -2,16 +2,16 @@ import i18n from 'i18next';
|
|
import { initReactI18next } from 'react-i18next';
|
|
import { initReactI18next } from 'react-i18next';
|
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
|
|
|
|
-import metaEN from './public/locales/en/meta.json';
|
|
|
|
-import metaTW from './public/locales/zh-tw/meta.json';
|
|
|
|
-import sidebarEN from './public/locales/en/sidebar.json';
|
|
|
|
-import sidebarTW from './public/locales/zh-tw/sidebar.json';
|
|
|
|
-import toolbarEN from './public/locales/en/toolbar.json';
|
|
|
|
-import toolbarTW from './public/locales/zh-tw/toolbar.json';
|
|
|
|
-import dialogEN from './public/locales/en/dialog.json';
|
|
|
|
-import dialogTW from './public/locales/zh-tw/dialog.json';
|
|
|
|
-import toastEN from './public/locales/en/toast.json';
|
|
|
|
-import toastTW from './public/locales/zh-tw/toast.json';
|
|
|
|
|
|
+import metaEN from './public/static/locales/en/meta.json';
|
|
|
|
+import metaTW from './public/static/locales/zh-tw/meta.json';
|
|
|
|
+import sidebarEN from './public/static/locales/en/sidebar.json';
|
|
|
|
+import sidebarTW from './public/static/locales/zh-tw/sidebar.json';
|
|
|
|
+import toolbarEN from './public/static/locales/en/toolbar.json';
|
|
|
|
+import toolbarTW from './public/static/locales/zh-tw/toolbar.json';
|
|
|
|
+import dialogEN from './public/static/locales/en/dialog.json';
|
|
|
|
+import dialogTW from './public/static/locales/zh-tw/dialog.json';
|
|
|
|
+import toastEN from './public/static/locales/en/toast.json';
|
|
|
|
+import toastTW from './public/static/locales/zh-tw/toast.json';
|
|
|
|
|
|
const resources = {
|
|
const resources = {
|
|
en: {
|
|
en: {
|