Skip to content

[DOCS] AnalogJS 2.6.0 + i18n unclear documentation #2366

Description

@tonysamperi

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

Image

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions