473,397 Members | 1,974 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,397 software developers and data experts.

how to build a multilingue C# application ?

Hi,

I need to have 2 (at least) different language in my C# app.
What's the best way to do that ?

Thanks for your help.

H. MAILLARD
Nov 16 '05 #1
2 1829
Hi Herve MAILLARD,

I assume you want your app to support English or Chinese.

There are 2 ways to achieve this.

1) The not recommended way:

You had 1 xml file.

In the xml file, it support unicode, and it contains elements in English and Chinese. Example,

<Book>
<Title></Title>
<ISBN></ISBN>
</Book>

Chinese will have its own version, and English has its own version.

Now you need to use XMLTextReader to read it manually and assigned it wherever you wants.

2) 2nd way which i think is the good way to do.

Store the multi languages in the resource manager.

http://www.c-sharpcorner.com/Code/20...lAppsInNet.asp
http://www.thecodeproject.com/csharp...pplication.asp

Hope it helps. :)
--
Regards,
Chua Wen Ching :)
"Herve MAILLARD" wrote:
Hi,

I need to have 2 (at least) different language in my C# app.
What's the best way to do that ?

Thanks for your help.

H. MAILLARD

Nov 16 '05 #2
Use Satellite Assemblies

"Herve MAILLARD" <rv********@free.fr> wrote in message
news:40***********************@news.free.fr...
Hi,

I need to have 2 (at least) different language in my C# app.
What's the best way to do that ?

Thanks for your help.

H. MAILLARD

Nov 16 '05 #3

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

Similar topics

10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
3
by: Mullin Yu | last post by:
i've created a console application, and by default the filename will be my project/solution name, ie. testCmd.exe but, can i change it during the build/deployment process to testCmdNew.com ...
4
by: David Lozzi | last post by:
I am developing ASP.NET with VB.NET using VisualStudio.Net, and every little line I change, I have to build the application. Why is that? Is it by design? When I first started with the development, I...
1
by: elia | last post by:
Bonjour, Je fais un site multilingue français, allemand, italien. Toutes les pages existent en allemand. Pour les autres langues, les pages seront traduites plus tard au fur et à mesure que...
0
by: elia | last post by:
Bonjour, Comment faire un lien vers la même page en php en ajoutant l'extension _de, _fr, ou _it ceci pour un site multilingue. Mes pages se nomme: info_de.php info_fr.php info_it.php
1
by: | last post by:
I'm having a problem finding the cause for this problem. I have a solution in Visual Studio 2005 that contains two projects -- a Web Site and a Class Library. The web site references the class...
1
by: AlexZh | last post by:
Hi, I'd like to stop command line build by one project build failed. To do that I've created simple AddIn (see code below), that works fine for IDE and does not work for command line. In the AddIn...
2
by: Peter Afonin | last post by:
Hello, I have a weird problem with one ASP.NET application that I develop using Visual Studio.Net 2003 (VB.Net). When I build an application, I get message "Build failed". When I start an...
14
by: yxq | last post by:
Hello, I want to build the multi-language application with the xml file, how to do? could anyone tell a sample? Thank you
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.