I'm using TYPO3 7.6.14
and my Website is bilingual 'english' and 'japanese'. My editors translate all english content, also FAL-Metadata for images, like 'description', 'alt-text' and 'title', s. screenshot.
The whole page is translated, only the FAL
-data from images fails (s. screenshot). I don't know why? Do anyone see my fault?
I am grateful for any help because I simply do not know what it is ... Thanks.
Here's the TCA
...
'additional_information' => array(
'exclude' => 1,
'label' => 'LLL:EXT:products/Resources/Private/Language/locallang_db.xlf:tx_products_domain_model_product.additional_information',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'additional_information',
array(
'appearance' => array(
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
),
'foreign_types' => array(
'0' => array(
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
),
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array(
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
)
),
'maxitems' => 10
),
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
),
...
and the Fluid
-Template (s. caption: photo.originalResource.properties.description
)
<f:for each="{product.additionalInformation}" as="photo" iteration="iterator">
<div class="column">
<a class="lightbox2" href="{f:uri.image(src: photo.originalResource.publicUrl, width: 1024)}" data-lightbox="{product.uid}" title="{photo.originalResource.properties.description}">
<f:image src="{photo.originalResource.originalFile.uid}" alt="" />
<span class="caption"> {photo.originalResource.properties.description}</span>
</a>
</div>
</f:for>
Frontend Output: