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
17 stars 10 forks source link

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

Open julescakecrumb opened 2 years ago

julescakecrumb commented 2 years 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 2 years 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 2 years ago

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

bmack commented 5 months ago

Hey @julescakecrumb , do you still need this feature?