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

Need vb.net windows application programmer, We need vb.net windows applicat...

We need vb.net windows application programmer with min six years exp to work on our email marketing project Project Description: We need a windows application vb.net programm

Sql injection, What is SQl injection? This is a Form of attack on the  ...

What is SQl injection? This is a Form of attack on the  database-driven Web site in which the attacker executes the unauthorized SQL commands by taking merits of insecure code

Pollution software vehicle, Project Description: i want to prepare a pol...

Project Description: i want to prepare a pollution checking software.. i have a demo of it.. Exactly someone to be created ..some changes to be included.. sms gateway t

Explain manifest, What is Manifest? Assembly metadata is keeps in Manif...

What is Manifest? Assembly metadata is keeps in Manifest. Manifest contains all the metadata required to do the following things     Version of assembly.     Security ide

Video wall control app for ipad and win7-64, Video wall control app for Ipa...

Video wall control app for Ipad and Win7-64 Project Description: We would like a completely functioning PC and IPAD app to control the functions of a videowall processor.

What is xml dom, What is XML DOM? The DOM stands for Document Object Mo...

What is XML DOM? The DOM stands for Document Object Model, which explains the logical formation of documents and provides the way to access and manipulate a document. It suppli

Explain nutritional properties of processing food, Nutritional properties o...

Nutritional properties of Processing food Processing food, you may have realized that many desirable changes occur, which include development of pleasing colours and flavors, i

Benefits and limitation of viewstate for state management, What are benefit...

What are benefits and Limitation of using Viewstate for state management The benefits of using Viewstate are as follows:- 1)    There is no server resources required because

I need a full time .net coder, Full Time Coder My colleague is seeking f...

Full Time Coder My colleague is seeking for someone to work on his website via team viewer. First I would need scale following skills- a) C# - b) AJAX - c) LINQ to S

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