Search code examples
resourcesvisual-studio-2012designer

How do I expand all strings in a .resx resource file in Visual Studio 2012?


VS2012's resource designer doesn't seem to have a way to "expand" long strings of text/html.

I have to double-click each and every one line to expand it.

Knowing I have about 10,000 of these to do for this localization project, I'm going to go mad if I can't find a way to go from this:

https://i.sstatic.net/KK1F5.jpg

...to this: https://i.sstatic.net/I2pU7.jpg

If there isn't, please suggest some alternate tool, app, or method that will help me keep my sanity.


Solution

  • Try the Visual Studio Power Productivity Tools for some help there. I know they really enhanced it for opening and collapsing the solution folders so it might help you.

    At our company we wrote a small utility to extract these resources from Visual Studio to package in the excel format that our translation company uses. It didn't take much to do that in .NET and it will certainly make your life easier in the long run.

    Turns out Microsoft also has a Resource Refactoring Tool that looks like it makes it easy to pull resources out of the code and resx files into other formats. I have not tried this personally (where I have used the Productivity Tools) but it is worth looking into this option.