Problems with resource files and software translation
-
Hi, 1. I have a problem with resouce files: Visual C++ does not give unique ID numbers to all sysmbols and this sometimes causes many problems. How can I prevent this from happening again? Editing resource file manually really takes too much time. 2. I have a big project and I want to make a German version of my program. How can I do this? Thank you for any helps in advance Mustafa Demirhan
-
Hi, 1. I have a problem with resouce files: Visual C++ does not give unique ID numbers to all sysmbols and this sometimes causes many problems. How can I prevent this from happening again? Editing resource file manually really takes too much time. 2. I have a big project and I want to make a German version of my program. How can I do this? Thank you for any helps in advance Mustafa Demirhan
Hello, the codgurus around the world.;) Actually, I don't understand your (1) problem very well. One issue of Localization is that we shouldn't put the hard code of error string like MessageBox. We should use the string table in the resource file. ID of the control should keep the same one in resource.h and control ID of the resource ID. As long as we use the resource editor to add or delete the control, the resource editor add the new ID to resource.h (not delete). (2) If you need German version, you should simple replace English string to German string in the resource file (RC file). That is, German resource is included in EXE file. Or, you can use the resource DLL file to linked EXE file at run time. Check Localization in MSDN help. Or, you can use Unicode version exe for Window NT and 2000. Currently, Window 9x and ME don't support Unicode. But, Microsoft will support this in the near future.:cool: Have a nice day! -Masaaki Onishi-
-
Hi, 1. I have a problem with resouce files: Visual C++ does not give unique ID numbers to all sysmbols and this sometimes causes many problems. How can I prevent this from happening again? Editing resource file manually really takes too much time. 2. I have a big project and I want to make a German version of my program. How can I do this? Thank you for any helps in advance Mustafa Demirhan
I have a (freeware) Add-In for VC 5.0/6.0 which can identify resource ID conflicts within a resource.h file and renumber symbols to get rid of them (unfortunately, there's not much that can be done about DevStudio mucking them up in the first place). If you think this will help you feel free to visit http://www.resorg.co.uk. P.S. I'm about to post a new version in the next week or so which is much smarter than the current one - if you're interested I'll let you know by email when it's available. Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I used to be a medieval re-enactor, but I'm (nearly) alright now..."