support any locals in Next Js project without having to add it in next configuration file

Viewed 12

I want to make next accepts all locals, because in the documentation you have to specify which locals you support

 locales: ['en-US', 'fr', 'nl-NL', 'nl-BE'],

and any locals other than this as example en-uk will render 404 page

so I need avoid getting back 404 page if local is not included in next config file

0 Answers
Related