Loading...
 
Multi-Language Add-In for Visual Studio

Multi-Language Add-In for Visual Studio


Nested element treated as translatable text

When using the Multi-Language Add-In in combination with the ASPxCheckBox from DevExpress which clientside events are placed in a nested tag like this (i've added some spaces between < and >):

< dxe:ASPxCheckBox ID="cbAll" runat="server" ClientInstanceName="cbAll" OnInit="cbAll_Init" ToolTip="(de)select all" meta:resourcekey="ML_0056" >

< ClientSideEvents CheckedChanged="function (s, e) { GridCheckedChanged(dxgvEntities, s.GetChecked()); } " / >

< /dxe:ASPxCheckBox >


the Multi-Language Add-In sees the clientside events as a regular text that can be translated. And even when hiding the text in the add-in, a label with the literal content of the client side events.

Deleting the nodes concerned from the .resx file solves the problem, but only until the project is scanned again by the multi-language add-in.

Any suggestions?

Germany

I have just installed a trial version of the DevExpress. So far, I haven't been able to reproduce the problem.

Can you send me a sample file which causes the problem?

Exactly which text does the Add-In select? Just the part in quotes "function (s, e) { GridCheckedChanged(dxgvEntities, s.GetChecked()); }" or a longer text?

Phil


The add-in selects all text within the dxe:ASPxCheckBox tag, including ClientSideEvents CheckedChanged=. I've send you an e-mail with sample files. Thanks for your effort so far.
Germany

Hi,

I have just uploaded a new version (4.7x.0059) which I believe fixes the problem.

Phil


Thanks a lot! I'll try it today.