473,385 Members | 1,449 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

multi languages

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
Nov 17 '05 #1
5 1161
Look at MSDN for System.Globalization.CultureInfo class.

Hope this helps,
Mark.

"Tony Johansson" wrote:
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

Nov 17 '05 #2
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" <Ma**@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
Look at MSDN for System.Globalization.CultureInfo class.

Hope this helps,
Mark.

"Tony Johansson" wrote:
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

Nov 17 '05 #3
I'm American but have traveled long and far, I've seen nothing but English
code.

Mark.

"Peter Oliphant" wrote:
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" <Ma**@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
Look at MSDN for System.Globalization.CultureInfo class.

Hope this helps,
Mark.

"Tony Johansson" wrote:
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


Nov 17 '05 #4
Mark wrote:
I'm American but have traveled long and far, I've seen nothing but English
code.

Mark.

"Peter Oliphant" wrote:

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" <Ma**@discussions.microsoft.com> wrote in message
news:CF**********************************@micros oft.com...
Look at MSDN for System.Globalization.CultureInfo class.

Hope this helps,
Mark.

"Tony Johansson" wrote:
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
Nov 17 '05 #5
Peter Oliphant wrote:
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
Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: R. Rajesh Jeba Anbiah | last post by:
I'm supposed to do a big portal with multi-language support and I'm decided to do my own instead of going for gettext. I have sort out few implementations; most of them uses global variables. I'm...
0
by: dc | last post by:
Product Announcement: Multi-Lingual web site using Nested Templates and Menus http://www.decloak.com/Products/Dreamweaver/NestedTemplates/ You can see the TONGUES of FIRE demo web site at...
5
by: Gustaf Liljegren | last post by:
In IE (at least from version 5), you can change your prefered language, so that for example the Windows Update page appears in another language than the system default. Here's the process: Tools...
77
by: Jon Skeet [C# MVP] | last post by:
Please excuse the cross-post - I'm pretty sure I've had interest in the article on all the groups this is posted to. I've finally managed to finish my article on multi-threading - at least for...
6
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
1
by: Joe | last post by:
I have the following 3 tables: Clients, which has a numeric PK field called CLIENT_ID Languages, which has a numeric PK field called LANGUAGE_ID Client_Languages, which has a unique PK and...
1
by: Bob Rock | last post by:
Hello, I was wondering when multi-file assemblies may be useful. With multi-file assemblies you may place inside the same assembly netmodules coded in different languages and as a consequence...
4
by: sam | last post by:
Multi-languages GUI Does VB.net support any library for Mutli-languate GUI I am the first time to design multi-language GUI I needs to creat lots of form for different language Can you give...
7
by: Bart Schelkens | last post by:
Hi, what is the best way (or the most interesting) way to make my application multi-lingual? I have french, dutch and english users and they all want the menu's and the labels,... in their...
0
by: Sabri.Pllana | last post by:
We apologize if you receive multiple copies of this call for papers. *********************************************************************** 2008 International Workshop on Multi-Core Computing...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.