Issue Feature Closed

#101866Link to page/record in default language not possible

Bernhard Eckl 09/07/23, 07:53 updated 03/25/25, 11:02

Description

Hello,

here is my scenario:

On a page with language id 1 (english, not default) I want to link to a news record. The news record is not translated, so the link is not generated at all. But I want to force it to link the news to the default language. Adding &L=0 does not work because the parameter is removed when clicking on save. I tried language handling strict and fallback mode. The only working way is to link the news via external URL.

Tested with TYPO3 11.5.30

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 4

  1. André Buchmann commented 09/12/23, 09:26

    Hey have you tested the free mode in the language handling (site config)?

    IMHO it’s expected not to show the link in strict mode, because it adds `AND sys_language_uid in (0,-1)` to almost all queries.
    Not sure about the fallback mode…

  2. Stefan Bürk commented and changed status New Needs Feedback 09/12/23, 13:36

    @klodeckl Can you please give some more context for your issue ?

    • In which context / way are you trying to build that link ? TypoScript, Fluid(ViewHelpers), Controller, etc
    • What is the “exaxt” code you are using at that place ?
  3. Bernhard Eckl commented 09/18/23, 09:19

    Link is built in RTE…

    It seems to work in free mode, thank you!

    I read the documentation about the language modes, but except that behaviour in this issue I can’t find other differences of strict and free mode (maybe the documentation could be a little more extensive). Is there another different behaviour? If not I would just switch to free mode.

  4. Benni Mack commented and changed status Needs Feedback Closed 03/25/25, 11:02

    Hey Bernhard,

    I documented most of it here: https://forge.typo3.org/issues/90261#note-18 – so you can see what you need from it. Apart from that, I will close this ticket now, so we can continue about this problem at the other ticket.