Problem/Motivation

I set this bug as major because people would like to see the UI in their language.

Steps to reproduce

1-Create a multilingual site EN (default) / FR
2-Translate the label of the "page" content type (ex: Page_FR) into FR
3-Make sure your that your preferences to view content, interface and administration page is FR
4-Goto /fr/admin/structure/types

You will see that everything is in french except the label and description of the content types.

Comments

DuneBL created an issue. See original summary.

vishalghyv’s picture

I think interface language has to be the site default language. So the behavior is correct

dunebl’s picture

StatusFileSize
new153.71 KB

@Vishalghyv Thank you for the idea, except that I don't get it...
As I have set a higher weight for the language from the url, it should prevail over the site default language
Here are my setting for the language negotiation page:
language nego

n.dhuygelaere’s picture

Hi, i've the same issue, only the original label is displayed for taxonomy and content type on /admin/structure/taxonomy and /admin/structure/types.

Version: 9.1.x-dev » 9.3.x-dev

Drupal 9.1.10 (June 4, 2021) and Drupal 9.2.10 (November 24, 2021) were the last bugfix releases of those minor version series. Drupal 9 bug reports should be targeted for the 9.3.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

hchonov’s picture

StatusFileSize
new726 bytes

The issue here is that ConfigEntityListBuilder is loading the entities override free, however I do not really see a reason for this as this is only a list builder and not the edit form. With the attached patch this is being removed and the translations are loaded as expected.

hchonov’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: 3192625-6.patch, failed testing. View results

vasike’s picture

i confirm the #6 patch solves the translations on Config entities collections pages ...

But i'm not sure if the approach is the right one ... desired by Drupal core ... see the Test failures ...

It seems here, a "Translated" Config Original is expected ... if possible.

fago’s picture

Status: Needs work » Closed (works as designed)

https://www.drupal.org/project/drupal/issues/2136559 is where it was done and justifies why this is the case. So I'd say this is a won't fix then.

pasqualle’s picture

StatusFileSize
new2.51 KB

patch with failed tests removed