C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » ASP.NET/Web Applications »

Internationalization(Globalization and Localization) in Asp.Net


Posted Date: 30 Oct 2008    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: ManiMember Level: Bronze    
Rating: 1 out of 5Points: 4



Internationlization is a mutilingual concept.we can view our web site in some other languages we use this.

It is done by using Asp.Net 2005.which is available in .Net Framework 2.0.In that Globalization and Localization concept shows how do make the website as a internalization one.

Globalization:This is a common resource for some of the languages like email format,text direction,coloring of the web page etc.which can be access through all the pages for common usages.

Localization:This is a language specific resource.The resource is unique for each language.

we can set this through Culture and UICulture.By using of threading we can access the culture class and implement the Globalization and loacalization.

Default internationalization behavior is determined by:

CurrentCulture – must be a SPECIFIC culture: default culture for System.Globalization – affects culture specific formatting (date/time, number,currency, … AND display of Calendar control)

CurrentUICulture – Can be neutral or specific culture: default culture used by ResourceManager

Code:In page Load,
Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-GB")

Thread.CurrentThread.CurrentCulture = New CultureInfo("en")

or In Web Config,

Or,In page wise,
<%@ Page Culture=“auto:en-GB” UICulture=“auto:en” %>

we can see global languages accept by the Dot Net:

Open Internet Explorer --> Tools --> Internet Options -->In General Tab, Languages --> Add

For example:You can set your language in top and open www.google.com,It will display in your language by defalut instead of English("en-Us")

Attachments

  • Internalization in Asp.Net (22127-30458-Globalization1.ppt)



  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Sign In to add tags.

    Globalization and Localization

      .  


    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Creating a basic sharepoint webpart
    Previous Resource: How to send SMTP mail in ASP.NET using C# technology.
    Return to Discussion Resource Index
    Post New Resource
    Category: ASP.NET/Web Applications


    Post resources and earn money!
     
    Related Resources



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use