Skip to content

Translated content type names in Dashboard blocks not sorted alphabetically #7056

@olafgrabienski

Description

@olafgrabienski

Description of the bug

Translated content type names in Dashboard blocks are not sorted alphabetically. Instead, the content types are sorted by their original English names, probably by the machine names.

Steps To Reproduce

To reproduce the behavior:

  1. Enable Locale and Language, and add a language.
  2. Make sure that at least one of your content type names is translated, e.g. "Page" and "Post".
  3. Go to the Dashboard.

Actual behavior

The content type names in the blocks "Create content" and "Content overview" aren't sorted alphabetically by the visible names. They are sorted by their English machine names.

Example of a site with German language:

  • Add new Seite (= page)
  • Add new Beitrag (= post)

Expected behavior

The content types names are sorted alphabetically by the visible names, comparable to other pages like the content type overview. Following the example from above:

  • Add new Beitrag
  • Add new Seite

Screenshot of actual behavior

Image

Additional information

Add any other information that could help, such as:

  • Backdrop CMS version: 1.33.0. (The issue exists however for a long time.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions