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")
AttachmentsInternalization in Asp.Net (22127-30458-Globalization1.ppt)
|
No responses found. Be the first to respond and make money from revenue sharing program.
|