b13 / link2language

Allows to set links to a specific language of a page in FormEngine and the RTE link selector
GNU General Public License v2.0
16 stars 9 forks source link

Add support to "shortcut target" field in page properties #15

Open julescakecrumb opened 1 year ago

julescakecrumb commented 1 year ago

Our client uses multiple languages in their website (TYPO3 10.4). The main part is only translated to german and english. But some landingpages have more translations, e.g. french. Some links in the footer are shortcuts to sites that are only available in german or english. So for the french shortcut link, we want to link specifically to the english site (so the footer link can be present and has a valid link).

bmack commented 1 year ago

Hey @julescakecrumb ,

this is much more complicated unfortunately (and also I guess, part of another extension :)). I already tried this in TYPO3 v9 Core back then, and the main problem is the "let's have a shortcut page to another shortcut page etc." and detecting redirect loop (which TYPO3 is currently capable of). That's this change / feature - https://forge.typo3.org/issues/66218 I guess there is much more to do to solve this properly... :(

bmack commented 1 year ago

Thinking about it a bit longer... a custom field in the pages table "force language" with a dropdown might be possible.

bmack commented 2 weeks ago

Hey @julescakecrumb , do you still need this feature?