|
.NET globalization and localization - August 25, 2008 at 18:00 PM by
Amit Satpute
What is the difference between Localization and Globalization?
Answer
In Globalization, an application is developed to support various
languages and cultures.
Its features and code design independent of a single language or locale.
In Localization, an application is adapted for a local market. It may include
translation of the UI to the local language and customizing its features if
necessary.
What is Unicode?
Answer
Unicode is a 16-bit character encoding scheme that enables characters
from various languages to be used. The characters are taken from languages of
Western European, Eastern European, Cyrillic, Greek, Arabic, Hebrew, Chinese,
Japanese, etc regions. It is defined by ISO 10646.
What are resource file and how do we generate resource file?
Answer
Resource files are used to separate the implementation of the application from
its User Interface. Thus, it eliminates the need to change a various sections
of code to add a different language.
October 30, 2008 at 18:10 pm by Amit Satpute
Describe how to implement globalization and localization in the use interface
in .NET.
Globalization is the process of making an application that supports multiple
cultures without mixing up the business logic and the culture related
information of that application.
Localization involves adapting a global application and applying culture
specific alterations to it.
The classes and the interfaces provided by the System.Resources allow storing
culture specific resources.
The ResourceManager class performs:
-
A look up for culture-specific resources
-
Provision of resource fallback when a localized resource does not exist
-
Supports for resource serialization
Explain how to prepare culture-specific formatting in .NET.
The CutureInfo class can be used for this purpose. It represents information
about a specific culture including the culture names, the writing system, and
the calendar. It also provides an access to objects that provide information
for common operations like date formatting and string sorting.
Explain the use of Resource Manager Class in .NET.
The ResourceManager class performs:
-
A look up for culture-specific resources
-
Provision of resource fallback when a localized resource does not exist
-
Supports for resource serialization
|