Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / April 2006

Tip: Looking for answers? Try searching our database.

back to xml

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
E. - 24 Apr 2006 17:21 GMT
hi,
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 ?

Many thanks
Kevin Westhead - 25 Apr 2006 19:22 GMT
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/library/8bxdx003(VS.80).aspx).

Signature

Kevin Westhead

> 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
[quoted text clipped - 7 lines]
> 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 ?
E. - 26 Apr 2006 14:46 GMT
Yes in fast my translators worked only with the DLL
Not the resx
Is it doable to reverse the dll to a resx ?

> 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
[quoted text clipped - 15 lines]
> > 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 ?
Kevin Westhead - 26 Apr 2006 18:32 GMT
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

Signature

Kevin Westhead

> Yes in fast my translators worked only with the DLL
> Not the resx
> Is it doable to reverse the dll to a resx ?
>
> <snip>
E. - 28 Apr 2006 19:02 GMT
many thanks this is exactly what i was looking for !

> Yes, it's possible using something like Reflector
> (http://www.aisto.com/roeder/dotnet/) or ildasm to extract the binary
[quoted text clipped - 22 lines]
> >
> > <snip>

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.