Project

General

Profile

Actions

Bug #88690

open

Translated content elements are not available in linkbrowser of the ckeditor in free mode

Added by Ronny Hauptvogel almost 5 years ago. Updated about 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2019-07-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you want to set an intern anchor for a translated content element on a free mode translated page in TYPO3 9 then you can't choose the translated content elements via linkbrowser in ckeditor, you can only select content elements in the default language.

In TYPO3 8 all content elements were listed, translated and non translated, but this have changed with TYPO3 9.


Related issues 5 (1 open4 closed)

Related to TYPO3 Core - Bug #89701: Link wizard lists only content elements of the default languageClosed2019-11-18

Actions
Related to TYPO3 Core - Feature #90138: Language and mode (free or connected) should be handled in the links module when creating an anchor to contentClosed2020-01-16

Actions
Related to TYPO3 Core - Bug #91160: Links to content element (anchor) in link wizard not possible when not in default languageClosed2020-04-21

Actions
Related to TYPO3 Core - Bug #88382: Link wizard lists all content elements of a page regardless of source languageClosed2019-05-17

Actions
Related to TYPO3 Core - Bug #92809: Anchor Links in Link Wizard not translated correctlyAccepted2020-11-10

Actions
Actions #1

Updated by Riccardo De Contardi about 4 years ago

  • Related to Bug #89701: Link wizard lists only content elements of the default language added
Actions #2

Updated by Riccardo De Contardi about 4 years ago

  • Related to Feature #90138: Language and mode (free or connected) should be handled in the links module when creating an anchor to content added
Actions #3

Updated by Riccardo De Contardi almost 4 years ago

  • Related to Bug #91160: Links to content element (anchor) in link wizard not possible when not in default language added
Actions #4

Updated by Sandra Pohl over 3 years ago

  • TYPO3 Version changed from 9 to 10

Hi everyone,

is there an update on this topic?
Still an issue in TYPO3 version 10.

Best wishes
Sandra

Actions #5

Updated by Simon Gilli over 3 years ago

  • TYPO3 Version changed from 10 to 9
Actions #6

Updated by Arne Uplegger about 3 years ago

  • Related to Bug #88382: Link wizard lists all content elements of a page regardless of source language added
Actions #7

Updated by Dennis no-lastname-given about 3 years ago

Is there a current status on this? Or is the solution still via manual intervention?

Best Regards

Dennis

Actions #8

Updated by Steffen Thiede over 2 years ago

  • TYPO3 Version changed from 9 to 10

Hi everyone,

is there any new information regarding this issue?

Thanks a lot
Steffen

Actions #9

Updated by Thomas K over 2 years ago

Ronny Hauptvogel wrote:

If you want to set an intern anchor for a translated content element on a free mode translated page in TYPO3 9 then you can't choose the translated content elements via linkbrowser in ckeditor, you can only select content elements in the default language.

In TYPO3 8 all content elements were listed, translated and non translated, but this have changed with TYPO3 9.

Steffen Thiede wrote in #note-8:

Hi everyone,

is there any new information regarding this issue?

Thanks a lot
Steffen

Ronny Hauptvogel wrote:

If you want to set an intern anchor for a translated content element on a free mode translated page in TYPO3 9 then you can't choose the translated content elements via linkbrowser in ckeditor, you can only select content elements in the default language.

In TYPO3 8 all content elements were listed, translated and non translated, but this have changed with TYPO3 9.

Steffen Thiede wrote in #note-8:

Hi everyone,

is there any new information regarding this issue?

Thanks a lot
Steffen

Hey folks,

hopefully I'm not doing sth wrong with that. I'm trying comment, that I also have the problem and that the problem not only exists in rte but in all view where the PageLinkHandler is used. If you try to set a anchor link then it only takes the default page id into account. If I see that correctly the logic is to grab the page record by its pid (which is the default language page id) and get the language out of it. Therefore you never get a page tree of a translation.

This bug occurs in my installation of TYPO3 10.4.21 (latest at the moment of writing that comment)

Please correct me if anything is wrong. Thx.

Thomas

Actions #10

Updated by Alexander Stehlik over 2 years ago

  • Related to Bug #92809: Anchor Links in Link Wizard not translated correctly added
Actions #11

Updated by Benni Mack about 2 years ago

  • Status changed from New to Needs Feedback

Maybe you want to check https://github.com/b13/link2language as this basically does this properly and works with v9 up. Is this what you wanted?

Actions #12

Updated by Gerrit Hübbers over 1 year ago

TYPO3 11.5.13 (and earlier 11 versions) also has the problem of only adding anchor links to the original language content element IDs. Therefore, in-page anchor links set up with the Link Browser don't work on translated pages.

Actions #13

Updated by Alexander Weber over 1 year ago

I have the same problem like Gerrit in TYPO3 11. The extension https://github.com/b13/link2language does not build Anchor Links and is unfortunately no solution for this problem.

Actions #14

Updated by Alexander Weber over 1 year ago

I changed in dev-master of EXT:link2languages on line 123 in PageLinkHandler.php from

$queryBuilder->createNamedParameter([0, -1], Connection::PARAM_INT_ARRAY)

to

$queryBuilder->createNamedParameter([0, ...$languageIdsToFindFreeModeItems, -1], Connection::PARAM_INT_ARRAY)

and can now select the content elements from the other freeMode languages in the linkbrowser.

Actions #15

Updated by Alexander Weber over 1 year ago

This could also be a simple solution/workaround.

<f:if condition="{data.l18n_parent} > 0">
    <a id="c{data.l18n_parent}"></a>
</f:if>
Actions #16

Updated by Heinz Schilling over 1 year ago

We have installed the EXT:link2language and it solves our problem. Thanks a lot.
We were just wondering that the extension is available in the TYPO3 repository only in an outdated version. Is there any reason not to update the officially available extension?
https://extensions.typo3.org/extension/link2language

Actions #17

Updated by Sybille Peters over 1 year ago

@Heinz Schilling That depends on the extension authors / maintainers. I have asked in this issue (since I am interested in this extensions too): https://github.com/b13/link2language/issues/16

They have not released a version with v11 yet. The latest is 2.0.0 (from Jul 19, 2021):

https://github.com/b13/link2language

The latest "master" supports v11:

(It might help if some people test with v11 and comfirm it is working).

Hope this helps.

Actions #18

Updated by Benni Mack over 1 year ago

Heinz Schilling wrote in #note-16:

We have installed the EXT:link2language and it solves our problem. Thanks a lot.
We were just wondering that the extension is available in the TYPO3 repository only in an outdated version. Is there any reason not to update the officially available extension?
https://extensions.typo3.org/extension/link2language

I just released a new version https://extensions.typo3.org/extension/link2language

Actions #19

Updated by Sybille Peters about 1 year ago

  • Status changed from Needs Feedback to New

Changing back to "new" as feedback was asked for and given about link2language.

Also, would suggest to use category "Link handling, site handling & routing" since it is not so much ckeditor specific.

Actions

Also available in: Atom PDF