Hi all,
I'm developing a multi-lingual website in next.js but i want to translate only certain pages, the problem is that when I build the project, I get error in pre-rendering the pages that are not translated. Is there a way to prevent pre-rendering pages that are not translated?
Many Thanks
I think you can create routes for individual pages without translations with the route resolver. I found this open discussion on Next's GitHub, maybe it's related: Is it possible to disable the pre-rendering in a specific page?
You can opt-out of pre-rendering by using
getInitialProps
. See this issue for more info #16124