In ASP.NET, I am about to start for a web application which I will require to write the app for different languages

Hi there;

In ASP.NET, I am about to start for a web application which I will require to write the app for different languages.

What is the best and fast way for this?

Kind regards.
LVL 12
jazzIIIloveAsked:
Who is Participating?
 
manishkungwaniConnect With a Mentor Commented:
Hello,
so the general idea is that whenever you use any control with content in it, do not set the content in the code.

Rather, use the resource files. and set the content values of the controls to the strings contained in the resource files. Every language will have its own resource file with the content for those languages.

When a request is received, the app can check for the localization parameters [or as per the app logic] and then set the appropriate resource file for the appropriate language.

This is the basic idea behind localization and multi-language support.
Do let me know, if you need more assistance. :)
0
 
viralypatelConnect With a Mentor Commented:
You'll need to do localization. There is also some info in Codeproject when you look for localisation there

http://www.codeproject.com/KB/aspnet...ivekTakur.aspx

http://www.codeproject.com/KB/dotnet/Localization.aspx
0
 
jazzIIIloveAuthor Commented:
2. link is broken. I need ideas rather than code.

Kind regards.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
jazzIIIloveAuthor Commented:
2. link is broken. I need ideas rather than code.

Kind regards.
0
 
jazzIIIloveAuthor Commented:
Hmm...Ok, but is there an easier example to understand then?

Regards.
0
 
PaulHewsConnect With a Mentor Commented:
Start on MSDN.

Localizing ASP.NET Web Pages By Using Resources
http://msdn.microsoft.com/en-us/library/ms228208.aspx
0
 
Anurag ThakurConnect With a Mentor Technical ManagerCommented:
lot of samples have already been provided and adding one more for review
but i am guessing you might have got the way to achieve the functionality
http://www.codeproject.com/KB/aspnet/LocalizationPackage.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.