Fix language detection for some browsers
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import fromPairs from 'lodash/fromPairs';
|
||||
|
||||
import enUS from './en-US/embed';
|
||||
import ruRU from './ru-RU/embed';
|
||||
import en from './en/embed';
|
||||
import ru from './ru/embed';
|
||||
|
||||
const localePairs = [
|
||||
['en-US', enUS],
|
||||
['ru-RU', ruRU],
|
||||
['en', en],
|
||||
['ru', ru],
|
||||
];
|
||||
|
||||
export const languages = localePairs.map((locale) => locale[0]);
|
||||
|
||||
Reference in New Issue
Block a user