Added default locale language setting for app.
This commit is contained in:
parent
97bcc8e8da
commit
9ed2948aff
@ -9,14 +9,14 @@ const nextConfig = {
|
|||||||
env: {},
|
env: {},
|
||||||
|
|
||||||
// This is the list of pages that should be exported when you run the `next export` command.
|
// This is the list of pages that should be exported when you run the `next export` command.
|
||||||
exportPathMap: async function () {
|
exportPathMap: async function (defaultPathMap, { dev, dir, outDir, distDir, buildId }) {
|
||||||
return {
|
return {
|
||||||
'/': { page: '/' },
|
'/': { page: '/' , query: { __nextDefaultLocale: 'en' }},
|
||||||
'/about': { page: '/about' },
|
'/about': { page: '/about' , query: { __nextDefaultLocale: 'en' }},
|
||||||
'/contactus': { page: '/contactus' },
|
'/contactus': { page: '/contactus' , query: { __nextDefaultLocale: 'en' }},
|
||||||
'/getinvolved': { page: '/getinvolved' },
|
'/getinvolved': { page: '/getinvolved' , query: { __nextDefaultLocale: 'en' }},
|
||||||
'/hireus': { page: '/hireus' },
|
'/hireus': { page: '/hireus' , query: { __nextDefaultLocale: 'en' }},
|
||||||
'/projects': { page: '/projects' },
|
'/projects': { page: '/projects' , query: { __nextDefaultLocale: 'en' }},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user