Img alt attribute localization failed on asp.net

107 Views Asked by At

I want to localize the img alt attribute on an asp.net project so it could be multilingual. I want it preferably to be in LocalResources and not Global. Also i want to know if this can happen without making the img to asp:Image.

<img meta:resourcekey="WhoCalls" alt="Who calls?" src=""
     style="opacity: 0.5; filter: alpha(opacity=50);"/>

I want something like this:

<img  alt="<%$ Resources:Default.aspx, HelloResource %>" src=""
     style="opacity: 0.5; filter: alpha(opacity=50);"/>

Any Ideas? Thank you.

0

There are 0 best solutions below