17 lines
252 B
JavaScript
17 lines
252 B
JavaScript
import en from './en';
|
|
import de from './de';
|
|
import es from './es';
|
|
import hu from './hu';
|
|
import fr from './fr';
|
|
|
|
const locales = {
|
|
en,
|
|
de,
|
|
es,
|
|
hu,
|
|
fr
|
|
};
|
|
|
|
export default function getMessagesForLocale (locale) {
|
|
return locales[locale];
|
|
};
|