next-i18next.config.js:
const path = require("path");
module.exports = {
i18n: {
locales: ["default", "en", "ar"],
defaultLocale: "default",
localeDetection: false,
},
};
Thats only it. The api works perfectly, writes in json file, but the latest content isn't loaded by the next-i18next :(, please if anyone can help