1 import * as i18n from 'i18next';
2 import { getLanguage } from './utils';
3 import { en } from './translations/en';
4 import { eo } from './translations/eo';
5 import { es } from './translations/es';
6 import { de } from './translations/de';
7 import { fr } from './translations/fr';
8 import { sv } from './translations/sv';
9 import { ru } from './translations/ru';
10 import { zh } from './translations/zh';
11 import { nl } from './translations/nl';
13 // https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
26 function format(value: any, format: any, lng: any) {
27 if (format === 'uppercase') return value.toUpperCase();
33 // load: 'languageOnly',
35 // initImmediate: false,
44 export { i18n, resources };