Library tutorials & articles

Multilingual Support in C#

Windows 2000

To display different languages and script, one has to install support for the script. Windows 2000 has support for displaying many scripts. Script is the writing style of language .For example, English and many western languages are written in Roman Script. Arabic, Farsi, Urdu are written in Arabic Script. Hindi, Bengali, Tamil are written in Indic Script. Every script has its own features. Arabic Script is written from left to right and characters changes their shape according to the context.

To install support for Arabic or any other Script. Open Control Panel --> Regional Options --> Language Setting for the System and check your desired Script(Arabic in our case). After checking Arabic click on OK and Arabic Script support is installed on our computer and you can have input locale in Arabic, Farsi and Urdu.

For input, keyboard for Arabic, Farsi and Other languages can be installed from Control Panel ---> Keyboard --> Input Locale --> Add.

So it is the configuration for displaying multilingual text. Now we will start C# IDE and explore its features. Throughout the article we will only concentrate on the code written for multilingual features. The code for form creation, adding controls to form and event handling will be generated by the IDE and will not be discussed.

Comments

  1. 29 Jun 2002 at 13:52

    I think the reason is that the string stored in the database is not in unicode, whereas chinese or Urdu or any such language needs unicode or some Font for rendering. If it shows ??? it means that the current viewer or the database does not support unicode.


    Hope that solved your problem.

  2. 15 Feb 2002 at 11:30

    I can show up chinese by asp.net, but after I insert the Chinese into English SQL server using c#, it shows up ??? in the database, any idea?

  3. 01 Jan 1999 at 00:00

    This thread is for discussions of Multilingual Support in C#.

Leave a comment

Sign in or Join us (it's free).

AddThis

Related discussion

Related podcasts

  • Looking into the C# Crystal Ball with Charlie Calvert and Bill Wagner

    One of the most exciting announcements from PDC was the news about C# 4.0 and Visual Studio 2010. With all the excitement and discussion throughout the event about these new developer tools, we reached out to two experts in the fields. Charlie Calvert and Bill Wagner sat down with Keith and Woody...

Events coming up

  • Dec 6

    Developing AJAX Web Applications with Castle Monorail

    London, United Kingdom

    Monorail is the model-view-controller engine of the Castle Project, bringing many of the best ideas of Ruby on Rails to the .NET world. In this talk, David De Florinier and Gojko Adzic show how Monorail makes it easy to develop .NET based AJAX applications, and how to use the Castle Project to build Web 2.0 applications effectively. Come to this session if you are a .NET web developer. Everyone is welcome!