Nextjs, React, Localization, Routing, Web Development.
libraries to do stuff and I didn’t want to install more libraries. They have a generic solution that could easily expand to consider more use cases and eventually use cookies to set the language. For this example, I am ok with a simple solution that works as follows: If there is no locale selected,