Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

[cms] Language switcher breaks on language specific cms-generated slugs #141

Open
bjrne opened this issue Jul 11, 2020 · 1 comment
Open
Labels
bug Something isn't working

Comments

@bjrne
Copy link
Member

bjrne commented Jul 11, 2020

When creating a new page in django cms or adding a new language version of an existing page, django-cms pre-fills the non-optional slug field with a sanitized version of the localized page title.

Example:
When adding a german version of the "about" page, one sets the title to "Über uns", and the slug automatically turns into uber-uns. This is also the new url, which obviously breaks our language switcher.

A good solution is not obvious, this could be a major pain-point for non-technical users.

@bjrne bjrne added the bug Something isn't working label Jul 11, 2020
@bjrne bjrne added this to the Full integration of django-cms milestone Jul 11, 2020
@Baschdl
Copy link
Contributor

Baschdl commented Jul 11, 2020

Maybe this would be a reason to use django-cms language switcher? See #84

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants