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

Similarities between class and structure, What are similarities between Cla...

What are similarities between Class and structure? The similarities between structures and classes are as follows:- 1) Both can have constructors, properties, methods, field

Write a program of changing string order – c# program, Write a Program of C...

Write a Program of Changing String Order - C# Language  using System;   class Prog3_2  {       public static void Main(String [] args)    {     Console.Write(ar

Why does an organization need to manage the workloads, Why does an organiza...

Why does an organization need to manage the workloads? The workload can be explained as an independent service or a set of code that can be implemented. It can be everything f

Samba pos development customisation english version, Project Description: ...

Project Description: customise samba pos. Just remove samba pos logo and rebrand it. The title in the frame needs to be changed as well as the splash screen at the beginning.

Write an application in c# or c++, Project Description: We are seeking s...

Project Description: We are seeking someone who can write a program in C# or C++. The idea is to prepare the program using a Cross Platform environment like Mono or Qt which

How different are interface and abstract class in .net, How different are i...

How different are interface and abstract class in .Net? Abstract classes cannot be instantiated it can have or cannot have abstract method basically called as must inherit as t

Auto stock market robot, Auto stock market robot Project Description: ...

Auto stock market robot Project Description: A total solution for the Robot trading on Nse , currency, Mcx, ncdex,using formulas or using buy sell signals . The solution s

ASP.NET Web Service Help C#, I need help figuring out how to capture text b...

I need help figuring out how to capture text box values from C# ASP.NET and send them from one class to another after being processed by a method.

I want c# api''s as a web service, Project Description: I have a basic C...

Project Description: I have a basic C# control interface that I want to be accessed remotely. Possible implementation using wrappers. Skills required are C# Programming, Webs

Connection pooling, Explain the fundamental of connection pooling. When...

Explain the fundamental of connection pooling. Whenever a connection is opened first time a connection pool is created and is based on the exact match of the connection string

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