title: Next Js dynamic subpath
body: <p>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.</p>
  <p>SO the site is at mysite.com and routes like mysite.com/cars, mysite.com/vehicles, etc</p>
  <p>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</p>
  <p>I have tried the new i18n feature in next.js 10 but seems like that only works based on user's locale (language).</p>
  <p>Is there a way I can programmatically do this or I should leave it to DevOps to deploy to subfolders?</p>