multi languages

T

Tony Johansson

Hello!

Assume I have a windows forms application for people that can read English.

Now to my question assume that this windows form application should also
support the swedish language.What is the best way to do this?

In the GUI there are two kinds of text that is either displayed in english
or swedish.
The first kind of text is the text that is written on buttons for example.
The other kind of text is the text in kolumn in a listBox for example.

If MFC was used only the *.rc file is switched between the two languages.

But how is this best done in .NET(C++).

//Tony
 
P

Peter Oliphant

Off topic, but related....sort of....hehe

Out of pure curiosity, are computer languages ever written in other foreign
languages? For example, in ENGLISH we have the 'switch-case' command
structure. But, is there another 'version' of VC++.NET that uses, say, the
FRENCH words for 'switch' and 'case' instead?

[==P==]
 
G

Guest

I'm American but have traveled long and far, I've seen nothing but English
code.

Mark.

Peter Oliphant said:
Off topic, but related....sort of....hehe

Out of pure curiosity, are computer languages ever written in other foreign
languages? For example, in ENGLISH we have the 'switch-case' command
structure. But, is there another 'version' of VC++.NET that uses, say, the
FRENCH words for 'switch' and 'case' instead?

[==P==]

Mark said:
Look at MSDN for System.Globalization.CultureInfo class.

Hope this helps,
Mark.
 
R

Ronald Laeremans [MSFT]

Mark said:
I'm American but have traveled long and far, I've seen nothing but English
code.

Mark.

:

Off topic, but related....sort of....hehe

Out of pure curiosity, are computer languages ever written in other foreign
languages? For example, in ENGLISH we have the 'switch-case' command
structure. But, is there another 'version' of VC++.NET that uses, say, the
FRENCH words for 'switch' and 'case' instead?

[==P==]

Look at MSDN for System.Globalization.CultureInfo class.

Hope this helps,
Mark.

:


Hello!

Assume I have a windows forms application for people that can read
English.

Now to my question assume that this windows form application should also
support the swedish language.What is the best way to do this?

In the GUI there are two kinds of text that is either displayed in
english
or swedish.
The first kind of text is the text that is written on buttons for
example.
The other kind of text is the text in kolumn in a listBox for example.

If MFC was used only the *.rc file is switched between the two languages.

But how is this best done in .NET(C++).

//Tony

(Very) early versions of the macro language in the office applications
localized the macro code. Since that was an absolute nightmare, the
design was changed.

Ronald Laeremans
Visual C++ team
 
A

Arnaud Debaene

Peter said:
Off topic, but related....sort of....hehe

Out of pure curiosity, are computer languages ever written in other
foreign languages? For example, in ENGLISH we have the 'switch-case'
command structure. But, is there another 'version' of VC++.NET that
uses, say, the FRENCH words for 'switch' and 'case' instead?

Actually there has been an attempt about 10 years ago in the French
education system to teach a limited "langage" that was written in French
(ie, keywords where in French). Useless to say that this teaching-only
language, that had been written only for and by the education system, was a
complete failure (I cannot even remember it's name right now...).

Beside that point, I must say that I find English much more usable for
technical discussions that many other languages, including my nativen
French. I am speaking about international, technical, English here mind you,
not Shakespeare!
Anyway, when trying to express complex, abstract ideas (for example in the
conception drafts for a soft), I often found it easier to express myself in
English where I can use small, short and readable sentences. By opposition,
in French - which I master of course better than English - I often end up
with complicated, tortuous grammar constructs that I found less readable.
Don't know if other languages give people the same feeling though.
For that reason, I am quite happy with English being the Esperanto and
Lingua Franca of computer science. Of course I prefer French for other
domains ;-)

Arnaud
MVP - VC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top