As I see, to get static pages for each locale we need to duplicate every page and it's sad. Am I missing something?
I know, we can use some library to control translations, but with this approach we will have static pages only for some single language, and the rest translations will be loaded dynamically.
All I want is some language templating and auto-generator for pages π So that I could write
// index.astro
<h1>{ t("some fancy title") }>/h1>
And after build it will be as
/index.html
/en/index.html
Maybe it is possible already?