Entity title is not translated in breadcrumb

Created on 6 August 2020, almost 4 years ago
Updated 13 September 2023, 10 months ago

Problem/Motivation

When using multiple languages, the breadcrumb title is always shown in the default site language.

Steps to reproduce

  1. Add more than 1 language
  2. Translate a node to the new language
  3. Breadcrumb is still displayed in default site language

Proposed resolution

Patch will follow soon.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code (module)

Created by

🇧🇪Belgium bceyssens Genk 🇧🇪

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India Madhu Kumar M E

    it looks like the PathBasedBreadcrumbBuilder is using TitleResolver->getTitle() to add the desired string to the breadcrumb.

    load the title from the configurations, because the Route that is generated doesn't contain the correct title in the default values.

    The above patch working fine.

  • Status changed to Needs work 10 months ago
  • 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10

    For #3

Production build 0.69.0 2024