Issue Feature Closed

#108591Introduce PSR-14 event to modify language menu

Chris Müller 01/05/26, 07:30 updated 11/19/26, 07:15

Description

Using the language-menu data processor, there are some edge cases which need special handling.

Examples:
  • You have a detail record in one language, but not translated to another language. Then the link in the language menu causes a 404.
  • You have paginated pages, the count of pages differ from language to language depending on the amount of translated records. A last page in one language then links to the last page of another language – which may not exist.

Therefore, it can be helpful to provide a PSR-14 event which can be used to adjust the generated links, for example, link from a record’s detail page to the overview page – or from a paginated page to page 1.

This is similar to the ModifyHrefLangTagsEvent.

Reviews 1

History 59

  1. Benni Mack commented and changed status New Closed <span data-processor="relativetime" data-value="2026-11-19T07:15:44+00:00" > 11/19/26, 07:15 </span>

    Closing this, see the abandoned review for reasons. We can re-open this once there is interest + need for it with a new approach. Thanks chris, though: I will keep this topic on the back of my head.