• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 880
  • Last Modified:

How to show devnagri font using cultureinfo in asp.net

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
ajaydhane
Asked:
ajaydhane
1 Solution
 
PhiljoCommented:
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
 
Bob LearnedCommented:
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
 
NaveenKhannaCommented:
little bit work
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now