1 import * as i18n from 'i18next';
2 import { getLanguage } from './utils';
3 import { en } from './translations/en';
4 import { de } from './translations/de';
6 // https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
7 // TODO don't forget to add moment locales for new languages.
13 function format(value: any, format: any, lng: any) {
14 if (format === 'uppercase') return value.toUpperCase();
21 // load: 'languageOnly',
23 // initImmediate: false,
33 export { i18n, resources };