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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top