问题
Does anyone have any recommendations of tools that can be of assistance with moving literal values into resource files for localization?
I've used a resharper plugin called RGreatX but was wondering if there is anything else out there.
It's one heck of a long manual process for moving the strings across and think there must be a better way! RGreatX is OK but could be a bit slicker I feel.
回答1:
Here's one:
http://www.codeplex.com/ResourceRefactoring
It'a actually a Microsoft "open source" Visual Studio(2005 and up) tool that integrates with the IDE. You can easily replace every occurence of a string with a ressource reference with a few clicks.
回答2:
You may find Zeta Resource Editor useful too.
回答3:
ReSharper itself (5.0+) now has support for localization which includes moving strings to resource files and highlighting localizabile strings.
回答4:
Try Visual Localizer - you can batch-process whole code, select which strings may be localized and the tool will add them to a resource file and create a reference instead. Many other features easing localization are included.
来源:https://stackoverflow.com/questions/15133/tool-in-visual-studio-2008-for-helping-with-localization