#88324Translated metadata of file shown untranslated in backend-page-module
Description
- Upload an image to your server
- Give it metadata (a description) in the default-language as well as in a translation
- Add that file (image) to a page
- Since no override is set for the description the page-module shows the description from the file-metadata
But on the translated version of the image-element also the untranslated meta-data is shown – although such a translation exists and the frontend shows correct the translated metadata-description.
Since this bug affects the backend-view only I don’t see it as highly critical, but inconsistent.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 2
History 5
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2024-04-28T20:16:44+00:00" > 04/28/24, 20:16 </span>
-
Riccardo De Contardi changed Related to #95811 <span data-processor="relativetime" data-value="2024-07-10T20:30:28+00:00" > 07/10/24, 20:30 </span>
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-02-06T11:30:51+00:00" > 02/06/26, 11:30 </span>closing the issue, due to cleanups, the meta data is not shown anymore in the page module nor in the IRRE header
-
Sascha Zander commented <span data-processor="relativetime" data-value="2026-02-06T16:27:39+00:00" > 02/06/26, 16:27 </span>
Hi @just2b,
i think i came across this bug while investigating a bug in a scheduler/CLI case.
In my case, a scheduler task (CLI) loads a domain model via the repository specifically in a language other than the default. If I then try to retrieve the metadata via the image in the model, the file metadata is always returned in the default language.
As far as I have looked at this so far, it is because TYPO3\CMS\Core\Resource\File::getMetaData() loads the metadata via the MetaDataAspect, which means that the desired language is lost. In the frontend, the metadata record is only overlaid/translated later by \TYPO3\CMS\Frontend\Aspect\FileMetadataOverlayAspect::languageAndWorkspaceOverlay() using the context.
However, this does not work in the CLI/backend (and also not if you intentionally want to output other languages in the FE Context).
My TYPO3 version is 12.4.
-
Benni Mack changed Related to #110333 <span data-processor="relativetime" data-value="2026-07-30T12:27:34+00:00" > 07/30/26, 12:27 </span>
I think that this affects for sure TYPO3 11 and in some way also 12 and 13
I’ll explain my test:
Prerequisites
The test
Results for TYPO3 11
Results for TYPO3 12 and 13