Possibility to link to an explicit language of a page
Sometimes it's necessary to link to an explicit language version of a page. At the moment you have to do it with an external url link.
It would be better, if you can choose in the typolink popup which language version you want to link.
We've solved that problem with the extension cabag_langlink, which is in TER and on FORGE.
But it would be great if that would become part of the core/rtehtmlarea. Of course I can create a patch, but I'm not shure about the way of change in browse_links.php
(issue imported from #M13524)
#7 Updated by Susanne Moog over 1 year ago
- Status changed from Accepted to Needs Feedback
- Target version deleted (
As far as I can see, this can already be achieved since quite some time when using Page TSConfig:
RTE.default.buttons.link.queryParametersSelector.enabled = 1
(not specific for language but enables to use all kinds of parameters, which I consider "enough" to solve this use case.)
#8 Updated by Riccardo De Contardi about 1 year ago
The solution proposed by Susanne Moog seems to work with both 8.7.13 and 9.3.0-dev (latest master), but there are some usability issues
1) on the select link wizard you have to write
&L=1 (for example) inside the "Additional link parameters" field so the editor must know what parameter is needed and its syntax
2) on the select link wizard, you must write
&L=1 inside the "Additional link parameters" field before choosing the page, or the wizard popup will close and the procedure must be repeated :)
3) if you edit the link opening again the wizard, the field "Additional link parameters" results empty (wrong)
4) your editor must know beforehand that the page is translated