New Message on dotNET User Group Hyd

How to convert a website into "Spanish" language

Reply
  Reply to Sender   Recommend Message 4 in Discussion
From: Vishnu-Chivukula

Hi Pinna,
There are a couple of ways to achieve globalization..
You can re design the entire site for two different languages. The catch is when you have a need to support another language. The maintainence of the site will be affected...
 
The other way is, as smith pointed out, by globalizing your application. The initial design and coding will be tedious but adding support for other languages will be very simple.
 
For the static pages you can use this approach...
 
First identitfy all the static part (Display texts like Labels). These values you can obtain from the resource files. Either you can create a one big resource file for the entire site (not advisable) or you can create a seperate resource file for each page and then invoke it in the corresponding page. This is a cleaner approach.
 
The dynamic part (any values/data which you retrieve from database like currency and other culture specific values needs to formatted accordingly.
 
Once you are through with this its only a matter of time for coding...
 
You need to use the following namespaces
using System.Globalization;
using System.Resources;
using System.Threading;
 
At the time of login, the user will select the language of choice. (You can get the corresponding culture from that). Store the culture information in a session variable, so that in the page load event of all the page you can serve the correct resource file..

Need any help in code samples, do post a msg back..
 
The best place for help is MSDN..
Suggest you install MSDN. You will definetly need it.

Happy Coding

View other groups in this category.

Click her
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to