Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Localization vs Globalization in Asp.net

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 12-01-2011
Member
 
Join Date: Jan 2011
Posts: 46
Localization vs Globalization in Asp.net
  

I am third year computer science student. According to our syllabus this year we have to develop one web site with front end language as asp.net. But I stuck around one issue that is I want to give language indecency to all my website users. Without relying on browser settings is it possible to give such facility to all my website users. Is there any concept exists in ASP.net which helps me to provide this facility.

Reply With Quote
  #2  
Old 12-01-2011
Member
 
Join Date: May 2009
Posts: 532
Re: Localization vs Globalization in Asp.net

It was really a fantastic thinking. Provide user facility to interact your site in their own language will definitely increase the number of visitors of your site. You can give this facility to users using the local variables which you can add in your project after your GUI is complete. When you complete your GUI go to tools, there you find an option as generate local variable. Click on this option this will generate one file at solution explorer having extension as ?.resx ? file under ?App_Localresource ? Folder. In that file you can see one ?datagridview? having columns like name of particular control, value corresponding to that label and comment. In that in ?gridview? section Write in language that you want to display like Chinese, Japanese etc. after doing that create one ?culture? variable and the name of object in which you previously stored the value coming from particular control that you used to users to change the language. Culture variable is responsible for applying all the changes related to language to whole page. This all process is known as Localization.
Reply With Quote
  #3  
Old 12-01-2011
Member
 
Join Date: May 2009
Posts: 620
Re: Localization vs Globalization in Asp.net

You can make visitors to interact with your site in their preferred language using the concept of globalization. For a need to perform globalization you need make an object of UIculture. Uiculture is an object responsible for storing the language preferences. Ones you create object of uiculture then add resource file in your solution. This file automatically stored in solution explorer under ?App_globalresource? folder. After opening the file you will get a table containing name and value pair and comment in first two colums add key and value that you want to display on the screen. You can make copies of this file for multiple languages. And for applying them to all controls text property write following line instead of putting there any value.

<%$ Resources:[filename prefix,]resource-key %>

In above syntax filename means the name of file that you created first. prefix means name and key is that one you mentioned in the table under resource file.
Reply With Quote
  #4  
Old 12-01-2011
Member
 
Join Date: May 2009
Posts: 523
Re: Localization vs Globalization in Asp.net

You can make your web site supportable to every Language using the concepts of Localization and Globalization. You just need to clear on idea that whether you are using localization or you want to use globalization. If you know the type and no. of visitors off your site, than I suggest you to go for the concept of localization and if you not concern about your visitors that from which country they belongs to , then I suggest you to go for the concept of globalization. in both of these concepts only two objects plays an important role they are culture and uIculture which are responsible for storing preferences regarding languages.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Localization vs Globalization in Asp.net"
Thread Thread Starter Forum Replies Last Post
Localization Bug in LG Optimus 2X P990 Aneat Portable Devices 4 08-11-2011 10:29 PM
What is Liberalization, Privatization and Globalization? Banned-BlackBadal Education Career and Job Discussions 3 18-11-2010 05:20 PM
Date localization in Excel 2008 on leopard Conqueror Windows Software 5 03-08-2010 12:06 AM
Modern warfare 2 localization.txt error Franscisco Video Games 6 19-05-2010 10:15 AM
How does IP address localization work Ranchero Networking & Security 3 30-09-2008 07:26 PM


All times are GMT +5.5. The time now is 09:17 AM.