Is there a Visual Studio add-in to populate resource files from strings in a code file?

I support the WinForms application, which was not written using any development patches that could localize classes in the project that were not directly related to forms, or partial parts of these forms.

Thus, there is MessageBox () code with English text in it in almost every code file. I would like to find a tool that "cleans" these lines of code, inserts the lines into the resource file, and replaces the resource call with the replaced line in the comment.

Is there such a tool?

+3
source share
5 answers

See ReSharper 5 Internationalization Features

ReSharper string, . .

, .

+5
+3

Resharper . Resharper RGreatEx, . , - , . RGreatEx .

EDIT: CodePlex. , , .

+2

ReSharper, , , , .

, Microsoft ,

http://resourcerefactoring.codeplex.com/

, , ReSharper.

0

You can also use T4 templates to do such things. I think they have been built into Vis Studio since 2005.

-4
source

All Articles