Localization (a brief introduction)

May 6, 2007 at 2:42 pm 1 comment

Presently, with the increase in the number of non-english users, internationalizing web sites has become quite important. In this article, as the title suggests… I am going to very brief explaination about how a web site can be localized.

To begin with, for localizing a web application a programmer needs to –

1. identify the localizable entities of the application. These can be any one of the following- Text Resource; Graphics; Database content; Dates; and maybe currencies, etc.,

2. is to identify which method of retrieval of culture information. And for this one can make use of the web.config or the page directive or allow the user to select the culture through the application itself


3. is to identify how the resource information has to be stored. This can be done by using 1. the Database or 2. the Resource files (.resx files); 3. the Text files (which can be easily converted into a Resource file) or 4. an xml file or 5. an excel sheet.

all this will obviously be based on whatever is suitable for your app.

I created this very simple web application in which i allow the user to either select English(US) or Deutsche (Germany) language and am making use of .resx files to store the resources.

To be more specific, I am going to make use of two pages, SelectLang page and LangIndicator page. The SelectLang page will contain a dropdownlist from which the user can select the required language and the LangIndicator page is going to make use of this selected information to set the current thread culture. And thats it….



Entry filed under: .net, internationalizaion, localization, WebApplication.

Blogroll @WordPress Invalid cast from ‘System.String’ to ‘System.TimeSpan….

1 Comment Add your own

  • 1. Localization - part 2 « Tech space…  |  June 6, 2007 at 1:43 pm

    Localization – part 2 : In my previous article – Localization (a brief introduction) – I gave a very brief overview about how localization can be done, what would be the list of things […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

May 2007
« Apr   Jun »

%d bloggers like this: