mirror of
https://github.com/gnmyt/myspeed.git
synced 2026-05-01 09:20:01 -05:00
Added the ru, bg, es languages to the i18n.js
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ if (localStorage.getItem('language') === null)
|
||||
localStorage.setItem('language', navigator.language.split('-')[0]);
|
||||
|
||||
i18n.use(initReactI18next).use(LanguageDetector).use(HttpApi).init({
|
||||
supportedLngs: ['en', 'de'],
|
||||
supportedLngs: ['en', 'de', 'ru', 'bg', 'es'],
|
||||
fallbackLng: 'en',
|
||||
backend: {
|
||||
loadPath: '/assets/locales/{{lng}}.json'
|
||||
|
||||
Reference in New Issue
Block a user