Interviews2 answers
Difference between File-based dependency and key-based dependency. Difference between Globalization and Localization.
2 Answers
Globalization refers to formatting data in formats relevant for the current culture setting.
example:
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");
Response.Write(DateTime.Now.ToString("D",d);
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.
example:
we have 2 resource files:
a)default.aspx.fr-FR.resx
b)default.aspx.en-US.resx
http://sibinthomask.blogspot.in/
Sibin ThomasPosted Jun 22, 2014, 10:45 PM EDT
a.In file-based dependency, the dependency is on a file saved in a disk while in key-based dependency, you depend on another cached item.
b.Globalization is a technique to identify the part of a Web application that is different for different languages and separate it out from the web application while in localization you try to configure a Web application so that it can be supported for a specific language or locale.
Sarath KumarPosted Jun 6, 2014, 7:02 AM EDT
