Nextjs, React, Localization, Routing, Web Development.
problem is not the function per se, but the fact that we don’t support es (sorry es speakers, this is just an example). We should handle this more gracefully. To take care of the error, we could have a condition checking the language and returning a default language if a non-supported language is