Hey @drdaria. Can you tell us more about your project? It would be helpful to know the framework and version number as well as the function code where this issue happens or a minimal reproducible example.
Based on the error you shared, it seems like the app is trying to access a property called locale that doesn’t exist on the router. If you’re using Next.js then it’s true that this property isn’t on useRouter. If you’re working with Next.js internationalization, then i18n in Edge Middleware or usePathname might be what you need.