2016-11-19 01:36:16 +11:00
|
|
|
import en from './en';
|
|
|
|
import de from './de';
|
2016-11-19 10:10:47 +11:00
|
|
|
import es from './es';
|
2016-11-19 01:36:16 +11:00
|
|
|
|
|
|
|
const locales = {
|
|
|
|
en,
|
2016-11-19 10:10:47 +11:00
|
|
|
de,
|
|
|
|
es
|
2016-11-19 01:36:16 +11:00
|
|
|
};
|
|
|
|
|
|
|
|
export default function getMessagesForLocale (locale) {
|
|
|
|
return locales[locale];
|
|
|
|
};
|