I am currently working on a next.js app and so far so good, all has been going on fine but my client wants a feature that's quite difficult for me to implement.
SO the site is at mysite.com and routes like mysite.com/cars, mysite.com/vehicles, etc
Now my client wants to a dynamic subpath based on the visitor's country e.g. mysite.com/us/cars or mysite.com/uk/cars or mysite.com/ng/cars
I have tried the new i18n feature in next.js 10 but seems like that only works based on user's locale (language).
Is there a way I can programmatically do this or I should leave it to DevOps to deploy to subfolders?