Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problems with resource files and software translation

Problems with resource files and software translation

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionhelpannouncementlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mustafa Demirhan
    wrote on last edited by
    #1

    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

    M A 2 Replies Last reply
    0
    • M 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

      M Offline
      M Offline
      Masaaki Onishi
      wrote on last edited by
      #2

      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-

      1 Reply Last reply
      0
      • M 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

        A Offline
        A Offline
        Anna Jayne Metcalfe
        wrote on last edited by
        #3

        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..."

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups