Skip to content

Fix autogenerated slugs #92

Merged
merged 2 commits into from
Aug 23, 2020
Merged

Fix autogenerated slugs #92

merged 2 commits into from
Aug 23, 2020

Conversation

donald
Copy link
Member

@donald donald commented Aug 23, 2020

Set Language from "en-us" to "en" and add a patch for a bug in the lasted release of wagtail_modeltranslation.

Combined, these will enable autogeneration of slugs from the English title again.

Fixes #91

The LANGUAGE_CODE is used to switch on a language with the new language
toggles by default and also to select the localized title field to
create the slag from. In both places, "en-us" is not parsed downs to
"en". Avoid trouble by using "en" for the LANGUAGE_CODE.
@donald donald merged commit a2052a4 into master Aug 23, 2020
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slug is not auto-generated anymore
1 participant