const fs = require("fs");
const path = require("path");

const getEnglishTranslations = () => {
  const filePath = path.resolve(process.cwd(), "dist/translations/en.json");
  const content = fs.readFileSync(filePath, "utf8");

  return JSON.parse(content);
};

module.exports = getEnglishTranslations;
