Skip to content

Changing the language on the article page leads to a non-existent page #23

Open
@trofimenk0

Description

@trofimenk0

Trouble with language switcher

When I'm on the page of a single article and want to change the language, the browser goes to a non-existent page.
For example:

  1. The current language is English. I am at the url - /en/blog/not-a-guide-to-integrating-strapi-with-next-js.
  2. I switch the language to French
  3. I am on the page with url - /fr/blog/not-a-guide-to-integrating-strapi-with-next-js which is wrong webpage
    image

Expectations

To get to the correct page (the French version of the article)

I think the problem is that the article slug for the English and French versions is different and this is not handled in any way.

Metadata

Metadata

Assignees

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