Skip to content

Output of localized fal metadata #96

@mockmeup

Description

@mockmeup

After hours of "trying" I hope someone here can point me into the correct direction. My problem is as follows:

  • I have an FAL image which has a "default / general" alternative text which I set up in the Filelist manager (I'm talking about the FAL metadata of that file)
  • I also translated the FAL metadate of that file
  • now I want to use this image in a DCE on several pages
  • and I want to show the "general" alternative text from the FAL metadata (I don't want to override the metadata)

My problem is that I'm not able to show / get the translated alternative text (from FAL) "with" my DCE.

My DCE field configuration is like:

<config>
    <type>file</type>
    <minitems>1</minitems>
    <maxitems>1</maxitems>
    <allowed>jpg,jpeg</allowed>
    <dce_load_schema>1</dce_load_schema>
    <dce_get_fal_objects>1</dce_get_fal_objects>
</config>

The output of my image in the DCE template is like this:

<f:image image="{field.headerImg.0}" />

In the BE I can create a content element based on the DCE and select the image, and everything works "fine" with the default language.

Problem now is when I translate this content element I still see the default language meta data. I have no way to somehow "access" the translated metadata.

So I'm guessing my field configuration (and maybe also my fluid template) is missing something?

I would appreciate any hints!

Metadata

Metadata

Assignees

No one assigned

    Labels

    SupportHelping people to work with DCE

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions