Welcome to MSDN Blogs Sign in | Join | Help

Bertan's Blog

Developer @ Developer Solutions
Resource Refactoring tool

Now that VSCmdShell is released, I started working on a refactoring power toy to help with converting strings in to resource files as it has to be performed manually now. It is primary feature will be to place selected string in to a resource file and replace it with the code to get that string from the resource file.

If you have any suggestions for the refactoring tool or ideas that would make it easier to work with resource files, please leave a comment to this entry.

Posted: Tuesday, July 18, 2006 12:29 AM by bertaygu

Comments

damieng said:

I'd like to see the ability to rename the resource strings and have all references in the project/solution updated - much like renaming a method/property.

I'm personally finding that the localization process results in choosing better strings even for the English version and that the key should be updated to reflect that to avoid confusion.

[)amien
# July 18, 2006 4:41 AM

avacoder said:

I'd like to see string resource names accept parameters...

string x = myRes.Message("additional info");

Track down Steve Maine, formerly of Avanade now with Microsoft; he'll know all about it.
# July 26, 2006 5:45 PM

avacoder said:

Track down Steve Maine...don't know what division he works in.  While he was with Avanade he wrote the Avanade String Resource Tool.  It provided the functionality of wrapping code around string resource files...just like VS2005 does, however, Steve's version was better...it allowed parameterization of resource strings which makes building error messages and such SO much easier.
# August 29, 2006 4:49 PM

bertaygu said:

avacoder: Thanks for the suggestion, for the first version we are planning to rely on code files generated automatically from resx files which does not generate methods with parameters. However in a future update we can include a custom tool to generate code from resx files that would take parameters as well. Then it would be possible to have parameterization.
# September 4, 2006 12:07 AM
Anonymous comments are disabled
Page view tracker