Multi-Language Add-In for Visual Studio

Multi-Language Add-In for Visual Studio


DropDownList > ListItem Content should be localized

I got this code:

<asp:ListItem value="0">First Option</asp:ListItem>


And i need to refactor to:

<asp:ListItem value="0" Text="First Option"></asp:ListItem>


Of course it's pretty easy and doable to fix it - but I get worried about missing some texts - because they get skipped - and it's not a plain search to find this "error" (reg expression could de the job).

Thought you might want to know..

(I just found a post in here stating that the value can never be localized for ListItems - We don't use that as well, but if you use the value for display (with javascript or through codebehind) value should be able to be localized)

Cheers..