-
Notifications
You must be signed in to change notification settings - Fork 37
Description
The link with variant for another language doesn’t work. I first thought the problem is that the page is not translated, so I translated the page. But the link still doesn’t appear. Here is my config:
properties:
pageUid: '9040'
linkText: Datenschutzbestimmungen
fluidAdditionalAttributes:
required: required
type: LinkedCheckbox
identifier: linkedcheckbox-1
label: 'Ich akzeptiere die '
variants:
-
identifier: language-variant-1
condition: 'siteLanguage("locale") == "en_GB.UTF-8"'
label: 'I accept the '
properties:
linkText: 'privacy policy'
validators:
-
identifier: NotEmpty
But even if I override pageUid to the translated page it still doesn’t work:
properties:
pageUid: '9040'
linkText: Datenschutzbestimmungen
fluidAdditionalAttributes:
required: required
type: LinkedCheckbox
identifier: linkedcheckbox-1
label: 'Ich akzeptiere die '
variants:
-
identifier: language-variant-1
condition: 'siteLanguage("locale") == "en_GB.UTF-8"'
label: 'I accept the '
properties:
pageUid: '9041'
linkText: 'privacy policy'
validators:
-
identifier: NotEmpty
TYPO3 11.5.30, linked_checkbox 4.0.0. Non composer mode.