aboutsummaryrefslogtreecommitdiffstats
path: root/lib/locales/index.ts
blob: 3a9ce465ff28a90abf9b66cbce2557e934582c0f (plain) (blame)
1
2
3
4
5
6
7
import fs from "fs";
export default "ar,bn,de,el,en,es,fa,fr,hi,it,ja,ko,nl,pl,pt,ru,th,tr,zh"
  .split(",")
  .reduce((a, l) => {
    a[l] = JSON.parse(fs.readFileSync(`lib/locales/${l}.json`) as any);
    return a;
  }, {});