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

Tsql function sql server 2012, TSQL Function SQL Server 2012 Project Des...

TSQL Function SQL Server 2012 Project Description: I require someone to prepare a TSQL function that returns the name of the ODBC DSN. I will use the queries below, to get

How many types of generations are there, How many types of generations are ...

How many types of generations are there in a garbage collector? Memory management in the CLR is separated into three generations that are building up by grouping memory segment

What is adrotator scheduler, Question: (a) List and describe the four ...

Question: (a) List and describe the four parameters contained in the second section of the AdRotator Scheduler File. (b) Distinguish between the following types of "Locks"

Shared (vb.net)/static(c#) variables, What are shared (VB.NET)/Static(C#) v...

What are shared (VB.NET)/Static(C#) variables? Shared/Static classes are used when a class gives functionality which is not specific to any instance. In brief if you want an ob

Web portal development, Project Description: Looking for a developer who...

Project Description: Looking for a developer who will develop a web portal like zulutrade, some features will be taken from signaltrader the changes ould be like: 1) only cer

Recipe house, recipe house Project Description: Web application with ...

recipe house Project Description: Web application with sql database Skills required are .NET, C# Programming, HTML, PHP, SQL

I need c# programmer, I need C# Programmer Project Description: To he...

I need C# Programmer Project Description: To help in the production of a C# module to provide a web service. We are based in Littlehampton, West Sussex. Skills required ar

A super-hero sharepoint developer with great design skills, A Super-hero Sh...

A Super-hero Sharepoint developer with great design skills Project Description: US: Our start-up company develops a very cool and innovative SharePoint related product with c

I need to develop a project of call accounting and billing, Project Descrip...

Project Description: General information for the business: Call Accounting and Billing Kind of development: New program from scratch Description of each module: Call Accou

How to avoid deadlock in threading?, Avoid deadlock in threading The be...

Avoid deadlock in threading The best  and careful planning may avoid deadlocks.There are so many ways Microsoft has provided by which you can decrease deadlocks for example Int

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