mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Disabled picking browsers language in localisation (#4502)
This commit is contained in:
parent
d238454a12
commit
306a53622c
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import { App } from './App';
|
|||
// eslint-disable-next-line import/no-unresolved
|
||||
import i18n from 'i18next';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
// import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
import Backend from 'i18next-http-backend';
|
||||
|
||||
const AppWithProfiler = Sentry.withProfiler(App);
|
||||
|
|
@ -21,7 +21,7 @@ appService
|
|||
const path = config?.SUB_PATH || '/';
|
||||
i18n
|
||||
.use(Backend)
|
||||
.use(LanguageDetector)
|
||||
// .use(LanguageDetector)
|
||||
.use(initReactI18next)
|
||||
.init({
|
||||
load: 'languageOnly',
|
||||
|
|
|
|||
Loading…
Reference in a new issue