I have a c# application and I use visual studio 2013 to develop it. In trying to support i18n, resource files were made for every language:
resources.en.resx
resources.fr.resx
resources.es.resx
resources.de.resx and so on...
I want to change a KEY (not the value) of all the resource files to something more descriptive, for example change "Header.Text" to "MainExceptionTitle.Text" Currently, I see no way to do this but to change it manually in every file, which is very tedious.
I looked into the zeta resource editor project, but it also only allows the editing of values and not keys.
Is there a way to do this?
Since .resx
files are XML, you can do a simple find & replace on them.
Use Visual Studio's Replace in Files tool to do this across all .resx
files, like so: