?
Solved

How to show devnagri font using cultureinfo in asp.net

Posted on 2003-02-19
3
Medium Priority
?
879 Views
Last Modified: 2013-12-03
Hi experts
I want to know how to show the Devnagri font i.e. Hindi,french etc. I heard some cultureInfo is there but I am unable to use that.
So plz tell me how to show Devnagri font with some example.

Regards
AJAY
0
Comment
Question by:ajaydhane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
Philjo earned 200 total points
ID: 7986052
You can look into tutorials of localization from this URL.

http://samples.gotdotnet.com/quickstart/aspplus
http://samples.gotdotnet.com/quickstart/winforms/


For setting up the default locale of the system.

Go to control pane -> Regional Options

- From the language settings check "Indic"
- Your Locale to Hindi. This will change the system locale to Hindi.

Restart the system. After from task bar icon you can toggle the default locales.


Setting up Culture programmatically in VB.NET will be done by this way.

Imports System.Globalization
Imports System.Threading;

'In the code this code in the OnInit/load events
Thread.CurrentThread.CurrentUIculture = new Cultureinfo("hi") 'for setting up default UI culture to Hindi
Thread.CurrentThread.Currentculture = new Cultureinfo("hi") 'for setting up default culture to Hindi
...

These are the parameters while affects culture of the system.
CurrentCulture
     - Picked up from the GetUserDefaultLCID API
     - Also affected by change to Control Panel -> Regional Options -> Set Locale
CurrentUICulture
     - Set by GetUserDefaultUILanguage on Windows 2000 and Windows XP where the end users can set their UI language
     - If UI language is not set, set by system default installed language – which is the language of OS’s resources
---

Also you look in to this URL for detailed globalization information.
http://www.microsoft.com/globaldev/default.mspx


0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 9645192
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by Philjo

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0
 

Expert Comment

by:NaveenKhanna
ID: 25376894
little bit work
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question