gitlab-org--gitlab-foss/app/assets/javascripts/locale/index.js

16 lines
268 B
JavaScript
Raw Normal View History

import Jed from 'jed';
import de from './de/app';
import es from './es/app';
import en from './en/app';
const locales = {
de,
es,
en,
};
const lang = document.querySelector('html').getAttribute('lang');
export { lang };
export default new Jed(locales[lang]);