But I have routes like /en-us/services that are never generated. This issue resolves in a 404 on static hosting when you try to directly access the url.
How are you handling the internationalisation of the site?
Luckily we have an example project if you'd like to see how we do it:
The way he handle it is, first with a folder structure that constructs the URLs. So something like:
For a Homepage and for the dynamic 'posts'
/pages/index.vue and /pages/_uid.vue
For the translation and the dynamic 'posts'
/pages/_lang/index.vue and /pages/_lang/_uid.vue
Then in the asyncData function there's a variable where we fetch the API response and we use the slug coming from the URL to create each individual route.
Oh, I think it's because I can't use a select like I did to switch from one language to another. It needs to be links so that the generate command knows all the possible pages.