Results 1 to 4 of 4

Thread: Localization vs Globalization in Asp.net

  1. #1
    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.

  2. #2
    Join Date
    May 2009
    Posts
    539

    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.

  3. #3
    Join Date
    May 2009
    Posts
    637

    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.

  4. #4
    Join Date
    May 2009
    Posts
    527

    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.

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,642,786,620.51295 seconds with 17 queries