This code exports a module with the name "next.config.js" and contains an object with the name "i18n" . The object has two properties: "locales" and "defaultLocale" . The "locales" property contains an array of strings, one for each language. The "defaultLocale" property specifies the default language.
Library: next
/* next.config.js */
module.exports = {
i18n: {
locales: ["en"],
defaultLocale: "en",
},
};