Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • torneborn 9 posts 39 karma points
    Jan 08, 2021 @ 15:01
    torneborn
    0

    Show multiple alt-text fields in image depending on amount of languages

    I'm trying to create multiple input fields for alt-texts (dynamically) depending on the languages that are available in the umbraco project.

    For example if I have 3 different languages available in my project I want every image to have 3 alt-text fields for each of the languages, save this in an array so it can be accessed later.

    How do I do this? I assume I have to create a custom type but I don't know how I can dynamically show fields in a media type?

  • Huw Reddick 335 posts 1007 karma points
    Jan 09, 2021 @ 13:02
    Huw Reddick
    0

    Couldn't you just use the language dictionary for that?

  • torneborn 9 posts 39 karma points
    Jan 11, 2021 @ 12:37
    torneborn
    0

    This is on media, an image how can i implement the language directory in a media type?

  • Huw Reddick 335 posts 1007 karma points
    Jan 11, 2021 @ 17:28
    Huw Reddick
    0

    this thread may offer some insight into use of alt attribute

    https://github.com/umbraco/Umbraco-CMS/issues/8432

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies