2017-04-15 11:07:31 -04:00
|
|
|
import Jed from 'jed';
|
|
|
|
import de from './de/app';
|
|
|
|
import es from './es/app';
|
|
|
|
import en from './en/app';
|
|
|
|
|
|
|
|
const locales = {
|
|
|
|
de,
|
|
|
|
es,
|
|
|
|
en,
|
|
|
|
};
|
|
|
|
|
2017-04-18 11:29:22 -04:00
|
|
|
const lang = document.querySelector('html').getAttribute('lang') || 'en';
|
2017-04-15 11:07:31 -04:00
|
|
|
|
|
|
|
export { lang };
|
|
|
|
export default new Jed(locales[lang]);
|