Answered by:
Translating the asp.net website to other languages

Question
-
User-1366530971 posted
Hi everybody ,
I am creating a website.can any one tell me how i can translate my whole website to the desired language that i have chosen in dropownlist.
Thanks in advance.
Naveen
Thursday, June 30, 2011 12:34 AM
Answers
-
User1843221445 posted
Hello,
I am providing some links, go through them and they will guide you towards your goal. You will need to localize your website in order to change it as per user desired and your web site supported language :)
browse in details the following:
- http://msdn.microsoft.com/en-us/library/aa308935(VS.71).aspx
- http://www.codeproject.com/KB/aspnet/LocalizationPackage.aspx
In short, you will keep translated strings for different languages in resource files (.resx). Each lang uage will have its own resource file containing all web site translatable contents (text --> words and sentences, as you wish while designing :) ) translated into that language :). Then at each page load / initialization, you can call the local methods to get langugage from settings (say web.config) and change the text of labels.
For step by step guidelines, do read the attached posts :)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 30, 2011 12:49 AM
All replies
-
User-744022866 posted
see this
Thursday, June 30, 2011 12:48 AM -
User1843221445 posted
Hello,
I am providing some links, go through them and they will guide you towards your goal. You will need to localize your website in order to change it as per user desired and your web site supported language :)
browse in details the following:
- http://msdn.microsoft.com/en-us/library/aa308935(VS.71).aspx
- http://www.codeproject.com/KB/aspnet/LocalizationPackage.aspx
In short, you will keep translated strings for different languages in resource files (.resx). Each lang uage will have its own resource file containing all web site translatable contents (text --> words and sentences, as you wish while designing :) ) translated into that language :). Then at each page load / initialization, you can call the local methods to get langugage from settings (say web.config) and change the text of labels.
For step by step guidelines, do read the attached posts :)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 30, 2011 12:49 AM -
User-1366530971 posted
Thank u for ur valuable Answer
Thursday, June 30, 2011 2:00 AM -
User-1366530971 posted
Thank u for ur valuable Guidance
Thursday, June 30, 2011 2:01 AM -
User-1567482218 posted
If you want to translate to multiple languages without spending a lot of time & resources, you can consider using the Microsoft Translator widget or customize with the SDK - http://www.microsofttranslator.com/dev/
Google Translate has an API too but it will be shut off completely on December 1, 2011 - http://mvark.blogspot.com/2011/05/say-goodbye-to-google-translate.html
Thursday, June 30, 2011 4:51 AM