Review main Abandoned

93556[WIP][TASK] Improve language selector labels for root-level records

Ayke Halder CR 0 V 0 Hard +191 −60 updated 04/08/26, 13:01

Commit message

For records with pid=0 such as sys_file_metadata, the language selector
in the document header concatenated site identifiers from every
configured site, producing extremely wide labels like
"English [Site: a], English [Site: b], ...".

The language selector now consolidates languages across all sites by
deduplicating titles and appending the language ID as metadata. When
all sites agree on the title for language 0, that title is kept.
When titles differ, a translatable "Default" label is used instead.
For non-default languages with differing titles, all unique titles
are listed. The flag switches to "flags-multiple" whenever titles
or flags are not consistent across sites.

Review

  • Code review CR 0
  • Verified V 0
    • core-ci +1 CI

Files 7

Review log 611

  1. Ayke Halder uploaded patch set 1 04/07/26, 17:06

  2. Ayke Halder uploaded patch set 2 04/07/26, 17:07

  3. core-ci voted on patch set 2 V -1 04/07/26, 17:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99713

  4. core-ci voted on patch set 1 V -1 04/07/26, 17:35 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99712

  5. Ayke Halder uploaded patch set 3 V -1 04/08/26, 08:20

  6. core-ci voted on patch set 3 V -1 04/08/26, 08:33 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99743

  7. Ayke Halder uploaded patch set 4 V -1 04/08/26, 08:40

  8. core-ci voted on patch set 4 V +1 04/08/26, 08:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99746

  9. Ayke Halder uploaded patch set 5 V +1 04/08/26, 08:57

  10. core-ci voted on patch set 5 V +1 04/08/26, 09:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99748

  11. Ayke Halder abandoned the change 04/08/26, 13:01

    see original 93522: [TASK] Improve language selector labels for root-level records | https://review.typo3.org/c/Packages/TYPO3.CMS/+/93522