mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 10:22:46 +00:00
repair lang bug (#5611)
This commit is contained in:
@@ -4,7 +4,7 @@ import LanguageDetector from 'i18next-browser-languagedetector';
|
|||||||
import { initReactI18next } from 'react-i18next';
|
import { initReactI18next } from 'react-i18next';
|
||||||
import { mediaUrl } from '../utils/constants';
|
import { mediaUrl } from '../utils/constants';
|
||||||
|
|
||||||
const lang = window.app.pageOptions.lang;
|
const { lang = 'en' } = window.app.config;
|
||||||
|
|
||||||
i18n
|
i18n
|
||||||
.use(Backend)
|
.use(Backend)
|
||||||
|
Reference in New Issue
Block a user