Globalising application?

  • Thread starter Thread starter .NET Follower
  • Start date Start date
N

.NET Follower

hi,
has anyone tried out globalising their applications
in diff languages
specially indian languages....
 
Take a look at resource file. You can have a resource file for each
language, and at run-time, you can access different resource file
based on the culture of the request. Additionally, you can also store
images in resource files.

Tommy,
 
thx for ur reply

So we hv to MANUALLY TRANSLATE EACH word in our appliccation
and create resource file for each language...!!!
 
Not each word, but groups of words that are displayed as a single
unit.

You will create a key for each unit of words, and assign a value based
on the language.

For example,
AccountNo=Account number :
ExpirDate=Expiration date :

Create a method that will return a value from a resource file based on
a key.
In your code-behind, you will call this method and set the value to
the text property of your control.

For example,

LabelAccountNo.Text = GetTranslatedText("AccountNo");

Tommy,
 
Back
Top