Difference between Globalization and Localization ?
Interview question and answer by: Ddd
| Posted on: 3/23/2011 | Category: .NET Framework Interview questions
| Views: 3540 | | Points: 40
Globalization refers to formatting data in formats relevant for the current culture setting.
a)consider this tag in Web.Config file.
It would cause the dates to be displayed in French for the web page of
the folder where this Web.Config file is located.
b) CultureInfo d=new CultureInfo("de-DE");
It would display date in long format using German culture
Localization refers to retrieving and displaying appropriately
localized data based on the culture.
It can be done by using the Resource files.
we have 2 resource files:
Using appropriate coding in the .aspx.cs files of a web page, the strings written in these resource files can be used to change the text of the strings dynamically.
| Alert Moderator
Found interesting? Add this to: