I am implementing multilingual on nextjs.
Locally it works normally.
When deploying to live, I get an error on the home page saying locale undefined, but when I go to the subpage, it works normally.
Can anyone help me with this error.
Thanks
[](https://i.sstatic.net/2erN8wM6.png)
Can anyone help me with this error.