Hello, for a project I need to use nl-BE as a language.
in i18n.js i have
clickCta: {
en: 'Click here',
'nl-BE': 'Klik hier',
},
I do assume this is correct as I do not get any error.
I have ensured to update the language bar… but the moment I click nl-BE it displays a 404, with no further errors. All other languages are working. I am 100% sure that all languages / posts are published.
In vercel I do see an error:
Ouch! The query has some errors!
[
{
message: 'Parse error on "-" (error) at [1, 29]',
locations: [ [Object] ]
}
]
> Build error occurred
Error: Failed to collect page data for /posts/[slug]
at /vercel/path0/node_modules/next/dist/build/utils.js:916:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'Error'
}
Error: Command "npm run build" exited with 1