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