![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
a former developper decided to give the dll resources to the translator team. The use a software that reads this dll, and is able to change it an generate the dll for the 2nd language. this kind of process needs to be changed, and i'd like my translator to work with the xml resx file, directly the one used by the developpers. so my question is, is there a way to get an xml from the dll ? i know how to make a resx becoming a dll, but i never had to do it the other way before. How could i do that ? Is ILDASM usefull for this ? |
#3
| |||
| |||
|
|
I'm not sure I understand why you need to generate a resx file from a dll. Have you lost the original resx files or are these resource dlls that were not originally generated from resx files? If you have the resx files then you can simply give them to the translators and have them generate a localised version using something like WinRes (http://msdn2.microsoft.com/en-us/lib...3(VS.80).aspx). -- Kevin Westhead "E." <E (AT) discussions (DOT) microsoft.com> wrote in message news:74D53D34-A2E6-4FDA-AE26-751C27243133 (AT) microsoft (DOT) com... a former developper decided to give the dll resources to the translator team. The use a software that reads this dll, and is able to change it an generate the dll for the 2nd language. this kind of process needs to be changed, and i'd like my translator to work with the xml resx file, directly the one used by the developpers. so my question is, is there a way to get an xml from the dll ? i know how to make a resx becoming a dll, but i never had to do it the other way before. How could i do that ? Is ILDASM usefull for this ? |
#4
| |||
| |||
|
|
Yes in fast my translators worked only with the DLL Not the resx Is it doable to reverse the dll to a resx ? snip |
#5
| |||
| |||
|
|
Yes, it's possible using something like Reflector (http://www.aisto.com/roeder/dotnet/) or ildasm to extract the binary resources, then resgen to convert them back to resx. E.g. given an assembly Test.dll, run ildasm from the command line as follows: ildasm /text /out:Test.il Test.dll You should then see some additional files, such as: Test.il Test.res Test.resources The .il file will be the IL, the .res file will be the Win32 resource and the .resources file will be the .NET resources. You can now run resgen to recreate the resx: resgen Test.resources Test.resx -- Kevin Westhead "E." <E (AT) discussions (DOT) microsoft.com> wrote in message news:E53934FF-AEA7-4E1C-9B73-37FA5C45EDA3 (AT) microsoft (DOT) com... Yes in fast my translators worked only with the DLL Not the resx Is it doable to reverse the dll to a resx ? snip |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |