Skip to content

Support i18n #88

@codingwithmanny

Description

@codingwithmanny

Context

Would like to see that the project supports:

  1. Automatic language detection
  2. Routing for different languages (assuming just folder structure /en /fr) but also allows a default without the need for a language at the end of the url (ex: /en)
  3. Allows for language dropdown and easy switching and mapping between pages (ex: /en/getting-started -> /fr/getting-started)

Solution

See example https://vitepress.dev/reference/default-theme-config#i18nrouting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions