开发者

Generate Local Resource for all pages

开发者 https://www.devze.com 2023-01-09 02:57 出处:网络
Is There Any Way or trick to generate local resource for all pages in visual studio 2010 automatically?

Is There Any Way or trick to generate local resource for all pages in visual studio 2010 automatically? I have about 500 pages and Use开发者_如何学PythonrControls. its hard to generate resource for every page one by one. is there Any Add on or extension for this? shaahin.


Write a script, no? A resource file is nothing but an XML file.


Write a macro as suggested in Is it possoble to run 'Generate Local Resources Tool' programmatically?

Also from http://www.guysmithferrier.com/post/2009/05/Localizing-ASPNET-MVC.aspx :

Convert your HTML controls to equivalent ASP.NET server side controls. If this is your plan then you should take a look at the I18NRefactorings (an add-in for the free DXCore) in the download at http://www.dotneti18n.com/Downloads.aspx (folder VS2010/ASPNETSpecifics/I18NRefactorings/I18NRefactorings in the 2010 zip) that will help automate this process.

0

精彩评论

暂无评论...
验证码 换一张
取 消