Try our conversational search powered by Generative AI!
AI OnAI Off
Hello Claudio
By default properties of MediaData items cannot be translated. However someone has written a blog on how this can be done:
http://www.patrickvankleef.com/2014/06/16/use-culture-specific-mediadata-properties/
David
what a bad thing.... however, thank you for your answer David.
I saw that post but I had the hope it was different/better on episerver 8
Hi everyone
Sorry I'm new to Episerver and I'm trying to understand why I can't save a property for every language of my media file.
The object definition is the following:
public class ImageFile : ImageData
{
[CultureSpecific]
public virtual string Description { get; set; }
[CultureSpecific]
public virtual string Alt { get; set; }
[CultureSpecific]
public virtual string Copyright { get; set; }
}
And entering the CMS admin, in properties of my image, I can write into textboxes called "Copyright / alt / description"
My problem is that I can't save a string for each language as it seems I don't have a version for each language: just an unique version of that file.
Can anyone help me to understand where I'm wrong?