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

Localization

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestionannouncementlearning
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.
  • C Offline
    C Offline
    csylesh
    wrote on last edited by
    #1

    I have got a desktop app written in VC++ 6.0.(MFC support) Now I have to convert it to an Arabic version. Can somebody help me know what are the steps involed in such a conversion process? I tried to create an Arabic resource using VC resource editor but didn't succeed !! Do I need to have Arabic Windows for that ? Any help on this is highly appreciated. Thanks in advance.

    T M 2 Replies Last reply
    0
    • C csylesh

      I have got a desktop app written in VC++ 6.0.(MFC support) Now I have to convert it to an Arabic version. Can somebody help me know what are the steps involed in such a conversion process? I tried to create an Arabic resource using VC resource editor but didn't succeed !! Do I need to have Arabic Windows for that ? Any help on this is highly appreciated. Thanks in advance.

      T Offline
      T Offline
      Ted Ferenc
      wrote on last edited by
      #2

      I wrote an article that might help:- http://www.codeproject.com/cpp/mult\_lang\_support.asp I have always converted to European languages, there is a trick you can use the method is described in the article, basically you would need a copy of Visual C++ tha is in the language you are convering to, or convert all the text in the .rc scripts. One of my freeware progs was converted to French this tool about a mornings work, but it did not have a lot of text to convert, and neither was teh help file converted.

      1 Reply Last reply
      0
      • C csylesh

        I have got a desktop app written in VC++ 6.0.(MFC support) Now I have to convert it to an Arabic version. Can somebody help me know what are the steps involed in such a conversion process? I tried to create an Arabic resource using VC resource editor but didn't succeed !! Do I need to have Arabic Windows for that ? Any help on this is highly appreciated. Thanks in advance.

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #3

        csylesh wrote: !! Do I need to have Arabic Windows for that ? Any help on this is highly appreciated. Besides the usual of putting the application in UNICODE ( with UNICODE and _UNICODE in the settings ). I don't think you need that, you simply need to set the locale/regional settings to arabic ( of your country if applicable ) in one of the control panels, and you also need to change the keyboard settings tu use the IME ( I only did this for oriental languages ) to type the Arab characters. When changing the resources, you can't simply copy the files, and type in arabic, you need to change the language section of the RC file. The resources are not UNICODE, they are in code page, that's why you need to change your locale/regionale for it to work. for example in english we have this : #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 you'll need to change the language, sublanguage and codepage. Good luck! Max.

        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