Initial commit
This commit is contained in:
10
client/src/locales/index.js
Normal file
10
client/src/locales/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import fromPairs from 'lodash/fromPairs';
|
||||
|
||||
import enUS from './en-US/embed';
|
||||
import ruRU from './ru-RU/embed';
|
||||
|
||||
const localePairs = [['en-US', enUS], ['ru-RU', ruRU]];
|
||||
|
||||
export const languages = localePairs.map((locale) => locale[0]);
|
||||
|
||||
export const embedLocales = fromPairs(localePairs);
|
||||
Reference in New Issue
Block a user