views:

31

answers:

1

Hi I'm Looking For a tool that help me to extract all strings of my code files to Resource File. I Used Coderush and Microsoft add on(resourcerefactoring.codeplex.com) for working with Resource files. but i had to extract strings to resources one by one. Is there any better option?

+1  A: 

solved http://msdn.microsoft.com/en-us/library/ms247246.aspx

To generate a local resource file from an ASP.NET Web page

1.

  Open the page for which you want to create a resource file.

2.

  Switch to Design View.

3.

  In the Tools menu, click Generate Local Resource.

  Visual Web Developer creates the App_LocalResources folder if it does

not already exist. Visual Web Developer then creates the culturally neutral base resource file for the current page, which includes a key/name pair for each control property or page property that requires localization. Finally, Visual Web Developer adds a meta attribute to each ASP.NET Web server control to configure the control to use implicit localization. For more information about implicit and explicit localization, see ASP.NET Web Page Resources Overview and How to: Use Resources to Set Property Values in Web Server Controls. 4.

  Type values for each resource that you need in your application, and

then save the file. NoteNote

  Do not attempt to embed a graphic directly in a resource file

because controls will not read the resource string as a streamed image file. Resource files represent graphics by storing the URL of the graphic as a string. 5.

  If the latest resource changes are not displayed, refresh Design view

by switching to Source view and then switching back to Design view. 6.

  Create resource files for additional languages by following

steps 6 and 7 in the preceding procedure.

shaahin