Window Application Development!

Posted on 2002-04-12
Last Modified: 2010-04-17

In developing a window application which needs to support mutli-lanuage, what factors need to be considered?

I know something called Unicode, code page, locale, etc?

Can anyone give me a guideline in developing a mutli-language window application?

In fact, my application may run at English OS and Simplified Chinese OS!

Thank you!

Question by:DoraMeMe
LVL 22

Expert Comment

ID: 6936495
Indeed the locale has something to do with it. Locale itself will tell you for example the dateformat. It is a number which you can use to find out the current settings of the users. The multilingual part you do different. You would use resources for that.

For example in Visual C++ you have resources like a Menu, icon etc. But you can also add strings in there. If you also combine them with the locale you have a multilingual windows program.

For example:
locale 1033 is English (United States)

your resource could look like:
name - locale - value
FILEMENU - 1033 - "&File"

In your program you then find out the locale id and grab it from the resource together with the requested name.

You can also use a database for this purpose, it's just whatever you want!

LVL 24

Expert Comment

ID: 6937748
Most of this can all be handled at install time, just selecting the MS options (other than default). Keep text simple, and as text, defer the fancy stuff. Visit existing multi-lingual webpages for contrast with needs, and to develop interests.

Author Comment

ID: 6940894
Hi all,

If I am using VB/VC++ 6.0 as my developing tools,
ususally, what extra must be done at my application instead of developing a native applicaiton which work for only 1 language?

For example, define using Unicode, get the locale setting?

Can anyone give me a brife example?


Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.


Expert Comment

ID: 6953464
I think you might find this web site helpful:

Its somewhat difficult to briefly answer your question. I oversaw the development of an application which also supported English and the Simplified Chinese OS. I also had to support many others.

Some of the issues I ran into were for example:
Unicode was not fully supported under Win95, yet I was trying to write something that would run on any Win32 platform. I also was using third party tools which also had to be able to support mulilanguage development.

Any other questions?


Expert Comment

ID: 7119737
I have the same issue with an app I am developing.  UNICODE support is a definite.  For resources, we place all of them into a specific resource dll.  So when a "language manager" determines the right language it will load the correct resource dll.
You can place just strings in there and have all of your dialogs load the strings as it's created, or put all of your resources into it.

Since we contract our language translations it is easier if they get just a resource script and use it for translation.  Plus by placing the dialogs in the same resource dll we can instruct them to resize them if the translation strings are too long.  

I hope this helps
LVL 54

Expert Comment

ID: 7508180

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.


LVL 22

Expert Comment

ID: 7508403

Accepted Solution

modulo earned 0 total points
ID: 7547884
Finalized as proposed


Community Support Moderator
Experts Exchange

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question