I want NOT to show locale prefix in URL when I switch language from default to not default (from 'ka' to 'en'). I mean from this localhost:3005/en/home to this localhost:3005/home. Any idea how can I manage this? This is my next.config.js
module.exports = {
reactStrictMode: true,
i18n: {
localeDetection: false,
locales: ['en', 'ka'],
defaultLocale: 'ka'
},
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true
}
}