C #: refactoring resource files

Does anyone know of a good resource refactoring tool in visual studio 2008?

We have several resource files with translated text in the assembly used to localize our application. But they are a bit confused ... I would like to rename some of the keys and move some of them to other resource files. And I would like these changes to be made to my code and translated versions of resource files. Maybe some kind of analysis of which lines are missing in the translated versions, and which lines were removed from the original, as well ...

Does anyone know of a good visual studio extension or a ReSharper plugin that can help me? Now this is a bit of a pain, because I must first rename the key to the base resource file, and then to the localized versions. And then compile to get all the compilation errors arising from the key, which now has a different name, and then go through and fix them all ... very annoying = /

+3
source share
4 answers

There seem to be some new features in ReSharper 5 that help with this.

Localizing your apps with ReSharper 5

, ReSharper 5 , . ReSharper 5.

0

, , .resx.

PowerShell, , .

, :

.\RenameResource.ps1 oldKey newKey

"keyName" "ResourceFile1.resx" "ResourceFile2.resx":

.\MoveResource.ps1 ResourceFile1 ResourceFile2 keyName
+1

We looked into Sisulizer to localize our software, and I think that it does what you ask for (a little bust, maybe?)

0
source

Source: https://habr.com/ru/post/1709854/


All Articles