473,480 Members | 1,849 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Multilingual support

I have done multi lingual support in C++ and now I am trying to figure
out how to do in C#.

In C++, there were the string tables where you could enter text in
multiple languages, and now I want to have similar functionality in
C#. What is the equilvalent of string tables in C# resources?

Also, you could make a copy (different language for each copy) of a
dialog/menu in C++ resource editor and I want to do the same thing
with Windows Forms in C#, how can this be done?
Nov 16 '05 #1
2 4071
Resource files are the key for internationalization. Consult the help file
for more info. It is very similar to the C++ string table, but a bit more
flexible.

As for the second question. The norm for resource files, with
globalization/localization, is to set up a file for each language. Look at
MSDN, as there are plenty of examples on this, including setting up a
framework that automatically grabs default language settings when there are
none in the particular language the user has his machine set to use.

You will find that much of the globalization work is done for you in the
..NET Framework. Rather than reinvent the wheel, study the help file, as well
as the MSDN articles. The Culture objects will save you from writing a ton
of code. Well worth the time.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"kensmtih1976" <ks****@daktronics.com> wrote in message
news:8a**************************@posting.google.c om...
I have done multi lingual support in C++ and now I am trying to figure
out how to do in C#.

In C++, there were the string tables where you could enter text in
multiple languages, and now I want to have similar functionality in
C#. What is the equilvalent of string tables in C# resources?

Also, you could make a copy (different language for each copy) of a
dialog/menu in C++ resource editor and I want to do the same thing
with Windows Forms in C#, how can this be done?

Nov 16 '05 #2
M

"kensmtih1976" <ks****@daktronics.com> wrote in message
news:8a**************************@posting.google.c om...
I have done multi lingual support in C++ and now I am trying to figure
out how to do in C#.

In C++, there were the string tables where you could enter text in
multiple languages, and now I want to have similar functionality in
C#. What is the equilvalent of string tables in C# resources?

Also, you could make a copy (different language for each copy) of a
dialog/menu in C++ resource editor and I want to do the same thing
with Windows Forms in C#, how can this be done?


I just went down this same road this past weekend.

Look up ResourceManager in help and check this

http://www.devhood.com/tutorials/tut...utorial_id=211
Also when you get to the part of naming the resouce files its best to follow
the naming conventions suggested. Like I tried to name them
Languages.English' but it wouldn't work until I renamed it to
'Languages.en-US'. I don't recall it saying that need to be that way but it
apparently does.

Good Luck

Nov 16 '05 #3

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

Similar topics

2
2364
by: indyjason79 | last post by:
I'm in the process of creating a huge Global Website for a large company. I was wondering how I could separate the code from the text and I'm starting to look into XML for this. I was thinking I...
4
4887
by: Asim Qazi | last post by:
Hi All i need to develop a multilingual s/w, i did it in ASP3.0 two years back, The main functionality i need is to put all the interface data in XSL Templates, make an XML packet in ASP, load XSL...
0
1189
by: kuldeep | last post by:
Hi all, I am devloping a multilingual application in which I am storing string (these strings are used as text for UI controls) in various languages like hindi,english etc in resource files. The...
0
1062
by: kuldeep | last post by:
Hi all, I am developing a multilingual application in which I display hindi and english text in the UI. The application executes well on Win 2000 and Win XP but when executed on Win98 the hindi...
1
1371
by: wolfen | last post by:
I have written a .Net web based application for a company here in the US, and they are now asking for this to be used in Denmark as well. I am lost when it comes to what needs to be done to make...
0
1016
by: Jim Adams | last post by:
I'm planning an upgrade to an existing ASP.Net project to support multiple display languages (e.g. English, Spanish, ...). I'd like to use a solution that's fully integrated into Visual...
4
1619
by: Jim Adams | last post by:
Anyone have any insights into this? I'm planning an upgrade to an existing ASP.Net project to support multiple display languages (e.g. English, Spanish, ...). I'd like to use a solution that...
1
1086
by: Jonas Nilsson | last post by:
Hi! Does anyone have a sample, or a link how i can build my Windows Application with multilingual support using resource files? /Jonas
7
5272
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Is it possible to create multilingual support in a Windows form like you can do in a web page by using resource files?
1
2147
by: Abhijit D. Babar | last post by:
I have to create a multilingual application in Visual c++ .net 2008. I have a Windows form application and i want to run this on multilingual support. So how can i do this. Which change i have...
0
7055
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7059
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6758
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7010
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4499
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3003
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
203
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.