Skip to content

t is not loaded with dynamic url #136

Description

@yazer79

When I try to use a route like "...en/blog" with translation, it works fine

      key: 'about',
      routes: ['/about'],
      loader: async () => (await import('./en/about.json')).default

But if it was a dynamic url with slug like " ...en/blog/amazing-post", the translation is not loaded
if you remove the slug, request the url to get a 404, then put the slug back again, the translation works with the dynamic route
Using: sveltekti18n 2.v.2 and locale-router example

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