Hello,
sorry to bother.
I'm building a boiler to potentially build localised applications (e.g. e-commerce).
I started from here => https://analogjs.org/docs/features/i18n/overview
But I find the docs could be expanded a bit.
In particular I had some trouble setting up the routing to be able to access with /:locale/some-page.
In the end I was able to get it working as expected by using this folder structure
But my expectation was that I would have worked with a structure similar to the one I use in Next.js where I don't need to have the [locale] route.
Is there the possibility to clarify which should be the better approach?
Hello,
sorry to bother.
I'm building a boiler to potentially build localised applications (e.g. e-commerce).
I started from here => https://analogjs.org/docs/features/i18n/overview
But I find the docs could be expanded a bit.
In particular I had some trouble setting up the routing to be able to access with /:locale/some-page.
In the end I was able to get it working as expected by using this folder structure
But my expectation was that I would have worked with a structure similar to the one I use in Next.js where I don't need to have the [locale] route.
Is there the possibility to clarify which should be the better approach?