Converting the language of an application to any other language
-
I have a MFC based window application developed in VC6.0. We have developed it in English language. Hence all the menu, windows, messages and other text of the application are displayed in English. I want it to be displayed in other languages also. Is there any quick way to do the conversion of the language? What is the way to do the conversion? Please suggest me with all the possible ways to convert the langugage. Thanks in advance, Mohan
-
I have a MFC based window application developed in VC6.0. We have developed it in English language. Hence all the menu, windows, messages and other text of the application are displayed in English. I want it to be displayed in other languages also. Is there any quick way to do the conversion of the language? What is the way to do the conversion? Please suggest me with all the possible ways to convert the langugage. Thanks in advance, Mohan
-
I have a MFC based window application developed in VC6.0. We have developed it in English language. Hence all the menu, windows, messages and other text of the application are displayed in English. I want it to be displayed in other languages also. Is there any quick way to do the conversion of the language? What is the way to do the conversion? Please suggest me with all the possible ways to convert the langugage. Thanks in advance, Mohan
Can following links helps you? Multiple language support for MFC applications with extension DLL[^] Multilingual support for applications[^] Regards, Paresh.
-
I have a MFC based window application developed in VC6.0. We have developed it in English language. Hence all the menu, windows, messages and other text of the application are displayed in English. I want it to be displayed in other languages also. Is there any quick way to do the conversion of the language? What is the way to do the conversion? Please suggest me with all the possible ways to convert the langugage. Thanks in advance, Mohan
change project settings from MBCS to _UNICODE first. You have to use widechar TCHAR (which is WCHAR as unicode is defined). Remove all hard-coded strings and load them at run time by using any of the following options. 1. Use resource dlls for various languages you need to include, use LoadLibrary() and LoadString() APIs to load and show them. How To Create Localized Resource DLLs for MFC Application
LoadString Function 2. Use XMLs. You can make use of MSXml sdk for easiness. MSXML SDK 3. Ini files. GetPrivateProfileString Function -
change project settings from MBCS to _UNICODE first. You have to use widechar TCHAR (which is WCHAR as unicode is defined). Remove all hard-coded strings and load them at run time by using any of the following options. 1. Use resource dlls for various languages you need to include, use LoadLibrary() and LoadString() APIs to load and show them. How To Create Localized Resource DLLs for MFC Application
LoadString Function 2. Use XMLs. You can make use of MSXml sdk for easiness. MSXML SDK 3. Ini files. GetPrivateProfileString FunctionDo we really require to change the project settings to UNICODE? I dont think so, we can very well support all languages (including east asian languages) in MBCS also. Please correct me if I am wrong.
Thanks, Anand.
-
Do we really require to change the project settings to UNICODE? I dont think so, we can very well support all languages (including east asian languages) in MBCS also. Please correct me if I am wrong.
Thanks, Anand.
it may be possible if intense effort is taken to replace required char type variables with wchar_t types, CRT function calls like strlen() with wcslen() and APIS calls such as CreateWindow() with its currespondng wide char version CreateWindowW(). Classes like CString internally handles string data depending on the _UNICODE preprocessor definition. So in _MBCS it will treat the given widechar string as multibyte text only. Definitions of LPCTSTR, LPTSTR etc also changes according to _MBCS and _UNICODE defintions.
-
I have a MFC based window application developed in VC6.0. We have developed it in English language. Hence all the menu, windows, messages and other text of the application are displayed in English. I want it to be displayed in other languages also. Is there any quick way to do the conversion of the language? What is the way to do the conversion? Please suggest me with all the possible ways to convert the langugage. Thanks in advance, Mohan
manoharbalu wrote:
Is there any quick way to do the conversion of the language?
No.
manoharbalu wrote:
What is the way to do the conversion?
First you need to make sure that no user-visible text is hard-coded in the cpp files. You need to extract all strings to a string table[^]. Than you can send your string table to localization companies to translate it for you to different languages. Also, be aware that translating text is only one part of making software global. You'll need to take care of different calendars, currencies, etc, etc.