1
0
REI-Fixed/app/assets/javascripts/components/locales/index.jsx

35 lines
504 B
React
Raw Normal View History

2016-11-18 23:36:16 +09:00
import en from './en';
import de from './de';
2016-11-19 08:10:47 +09:00
import es from './es';
2016-11-25 17:43:19 +09:00
import hu from './hu';
import fr from './fr';
import no from './no';
2016-11-28 00:57:09 +09:00
import pt from './pt';
2016-12-08 03:39:22 +09:00
import uk from './uk';
import fi from './fi';
import eo from './eo';
import ru from './ru';
import ja from './ja';
import zh_hk from './zh-hk';
2016-11-18 23:36:16 +09:00
const locales = {
en,
2016-11-19 08:10:47 +09:00
de,
es,
2016-11-25 17:43:19 +09:00
hu,
2016-11-28 00:57:09 +09:00
fr,
no,
2016-12-08 03:39:22 +09:00
pt,
uk,
2017-04-06 03:28:58 +09:00
fi,
eo,
ru,
ja,
'zh-HK': zh_hk,
2016-11-18 23:36:16 +09:00
};
export default function getMessagesForLocale (locale) {
return locales[locale];
};