Solved

Window Application Development!

Posted on 2002-04-12
8
210 Views
Last Modified: 2010-04-17
Hi,

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!



0
Comment
Question by:DoraMeMe
8 Comments
 
LVL 22

Expert Comment

by:CJ_S
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!

CJ
0
 
LVL 24

Expert Comment

by:SunBow
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.
0
 

Author Comment

by:DoraMeMe
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?

Thanks!

0
 
LVL 8

Expert Comment

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

http://www.microsoft.com/globaldev/default.asp

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?

Anthony.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:jimbucci
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
Jim
0
 
LVL 54

Expert Comment

by:nico5038
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.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7508403
Agree
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 7547884
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Specific format 21 185
How  do I get an older program to run in Windows 10? 20 104
program a usb light to turn on when needed 6 49
Advice in Xamarin 21 57
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now