Best practice while implement globalization & localization, DOT NET Programming

Assignment Help:

What are the best practices while implementing globalization and localization?

The best methods while developing international language support software are shown below:-

1) Do not hardcode the strings or user interface resources.

2) make sure that your application depends on Unicode.

3) Whenever you read or write data from different encoding make sure you use the namespace System.text . Most of the programmers assume ASCII data.

4) While testing test it with the actual international data and environments.

5) Whenever we manipulate the data for instance numbers, dates or currency make sure that you are using the culture-aware classes defined in the namespace System.Globalization .

The table below specifies in more detail about the functionality and the classes to be used to achieve the same.

1337_Globalization and localization.png

Figure: - Functionality and classes used

1) If the security decision is based on the result of a string comparison or case change operation, perform a culture-insensitive operation by explicitly specifying the CultureInfo.InvariantCulture property. This method ensures that the result is not affected by the value of CultureInfo.CurrentCulture.

2) Move all your localizable resources to separate the DLL's.

3) Avoid using the images and icons that contain text in your application. They are costly to localize.

4) Allow plenty of rooms for the length of the strings to expand in the user interface. In some languages, phrases can need 50-75 percent more space.

5) Using the System.Resources.The ResourceManager class to retrieve resources based on culture.

6) Explicitly set the CurrentUICulture &  CurrentCulture properties in your application. Don't rely on the defaults.

7) Be aware that you can specify the following 3 types of encodings in ASP.NET:

  • The requestEncoding specifies the encoding received from the client's browser.
  • The responseEncoding specifies the encoding to send to the client browser. In most cases, this should be same as the requestEncoding.
  • The FileEncoding specifies the default encoding for .aspx, .asmx, and .asax file parsing.

Related Discussions:- Best practice while implement globalization & localization

What is disco, What is DISCO? DISCO is a method developed by Microsoft...

What is DISCO? DISCO is a method developed by Microsoft to publish and discover Web services. It discovers URLs of all XML Web services located on a Web server and develops a

This is a project specifically made for shirohime, This is a project specif...

This is a project specifically made for shirohime. Skills required: .NET, Fashion Design, Virtual Assistant

Event bubbling, What is event bubbling? The Server controls such as  D...

What is event bubbling? The Server controls such as  DataList, Datagrid,  Repeater can have another child controls inside them. For example the DataGrid can have combo box ins

Explain the diffrent type of literals in c#, Explain the diffrent type of l...

Explain the diffrent type of literals in c# The different types of literals in C# are: Boolean literals - Refers to the True and False literals that map to the true and fals

How to connect to microsoft access, How can we connect to Microsoft Access,...

How can we connect to Microsoft Access, Foxpro , Oracle etc ? The Microsoft provides System.Data.OleDb namespace to communicate with the databases such as Oracle, scess  etc. I

Simple walk through of xmlreader, Explain simple Walk through of XmlReader....

Explain simple Walk through of XmlReader. In this part we will do a simple walkthrough of how to use the "XmlReader" class. The Sample for the same is available in both languag

Bug correction and prediction, Bug Correction and Prediction Project Des...

Bug Correction and Prediction Project Description: The project is about the prediction of bugs and resolves the bug in the sample program using costriage algorithm. You have

Which command-line tool generates code and mapping, Which command-line tool...

Which command-line tool generates code and mapping for the LINQ to SQL component of .NET Framework? The SqlMetal.exe command-line tool generates code and map the LINQ to SQL co

Looking for a solution to import the excel data, Project Description: I ...

Project Description: I am having a table available in excel format and features the subsequent: - It has about 170000 rows - Some text is longer than 255 in length. - S

Looking for web designer, Looking for web designer Project Description: ...

Looking for web designer Project Description: I am seeking website designer with developing skills of Html, .Net and also supports in all browsers. Please ping your previous

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd