#Why my next-i18next isnot working and even though translated content is written in json file insta

9 messages · Page 1 of 1 (latest)

coral bloom
#

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

coral bloom
#

up up

coral bloom
#

up up

coral bloom
#

please someone

coral bloom
#

up

coral bloom
#

upp

waxen dome
#

What isn't working? Have you checked with console.log if getServerSideProps res returns correct translations?

#

Be more specific