Skip to content

Language chooser is broken with prefix_default_language=False #327

Closed
@julianwachholz

Description

@julianwachholz

Django version
1.9 and up

Current behavior (bug description)

  • In a Django project with i18n_patterns(..., prefix_default_language=False) the language picker will not be shown unless the user is already on a non-default language.
  • When using the language chooser to go back to the default language, it gets hidden.

Expected behavior

  • Language chooser should work the same as with with prefix_default_language=True.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions