.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Localization VS Globalization

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :ASP.Net
AOA,  I am developing a web application which have almost 500 pages. i used localization concept in it. i made seprate resource file for each aspx file. My question is this should i carry with this approach or make one global file which have all localized data in it. i want solid reasoning behind to choose either approach. what could be benifits or drawbacks of suggested approach in terms of performance etc. Your quick response will be highly appriciated. thanks in advance.   Regards,

View Complete Post

More Related Resource Links

Globalization and Localization


How to maintaine a web application in different languages.

For Examplel(English, Chinees,German...)

Need any Detailed Example.

MVC & Globalization / Localization


Thus far I haven't seen any information on MVC support for Globalization and Localization.
But from my research, ASP.NET 2.0 handles it via any tag that has runat=server, something that MVC hasn't got.
I have my ideas about how it might be done, but I will leave the question open-ended, hear what Microsoft has to say.

No doubt ScottGu will eventually do an awesome post on it, but I can't really wait that long, my employer is on the eve of embarking on a web application with globalization concerns, and we are also assessing the MVC framework.

SharePoint Localization Tips and Tricks

In this article, I'll round up the scattered pieces of information about localization in SharePoint, provide some tips and tricks and leave you with a working approach to localization. However, before we work on meeting the challenge, we should understand it.

Localization in ASP.NET 2.0

New Auto-Culture Handling in ASP.NET 2.0
ASP.NET 2.0 comes with a new auto-culture handling feature to make the task of localizing your application easier. Auto-culture handling can be enabled for each page by including the Culture="auto" and UICulture="auto" attributes in the Page directive of each page. Once enabled, the ASP.NET runtime will automatically map Accept-Language headers to CultureInfo objects and attach them to the current thread (unlike ASP.NET 1.x, where you need to do this manually). As a developer, you simply need to prepare the resources for the different cultures you want to support in your application. ASP.NET will then do the work of loading the appropriate resources for each culture as they are needed.

Implicit Localization
Let's use Visual Studio 2005 and create a new website project by going to File -> "New Web Site.." Name the project C:\Localization. For this application, I will use the Visual Basic 2005 language.

How to: MVC URL localization...


Hello all,

I have an MVC 2.0 application which currently has 3 different languages.(English, French, Spanish).
Although I've found many articles on how to localize an etnire MVC application I still haven't found an example on how to localize the URLs.

Assuming I have the following English URL:

When I switch in either French or Spanish, I'd like to have the following:
French: http://www.mywebsite.com/Produit
Spanish: http://www.mywebsite.com/Producto

How does one achieve such a task?
If anyone cares to show me a link or demo, that would be great!

Thanks in advance!

Localization not working in class library (composite control)



I have a class library called WEM.portal which used Resource files to localise text in my composite controls.

I store my resource files (eg MyResourceFile1.resx) in App_GlobalResources folder and then refer to them using

MyLabel1.text = My.Resources.MyResourceFile1.MyResourceKey1

This is all working ok until I create seperate files for each language such as MyResourceFile1.FR-fr.resx.

I have implemented this throughout my other web applications but the Class Library doesnt seem to want to work the same way

When I load the page it correctly showes the resourced keys which I have done through the web application BUT the resource keys in the composite controls does not seem to pick up the culture code.

Am I missing something stupid. Ive tried

  • changing the Build Action on the resource file to Content and Custom tool to GlobalResourceProxyGenerator
  • Creating a resourceManager but to no avail


Language Localization



I want to make my website into world's different  laguages.Im very new to it .

plz help

Setting default localization



I ever thought that I can set a default localization if the users one (which is set in the browser) isn't available.

I've implemented my localresource files for localization. The start.aspx.resx contains all texts and elements for German use and the start.aspx.en.resx for English users. When I switch the language in the browser settings from German to English everything works fine and the english text is displayed. But when I switch to an other language which is not German or English, it takes defaulty the german resource files.

I've set

UICulture="auto:en-US" Culture="auto:en-US"

as well, but it didn't assume the .en resource file automatically. (For example when I enter the website and switch the browser language to French or Italian it should take the english resource files.)

Thanks and regards,

Basic Instincts: Resources and Localization in ASP.NET 2.0


In this installment of Advanced Basics Ted Pattison discusses the localization of Web sites in ASP.NET 2.0.

Ted Pattison

MSDN Magazine August 2006

CLR Inside Out: Windows Vista Globalization Features


Windows XP and the Microsoft .NET Framework both have APIs that support globalization. Windows VistaT will further extend globalization support by introducing several new features.

Shawn Steele

MSDN Magazine June 2006

Basic Instincts: Resources and Localization


There are two ways you can utilize resources such as strings, images, and text-based files from your Microsoft® . NET Framework-based application. You can embed them directly in the app or you can load them from an external file.

Ted Pattison

MSDN Magazine May 2006

.NET GUI Bliss: Streamline Your Code and Simplify Localization Using an XML-Based GUI Language Parse


While Windows Forms in .NET has lots of cool features, if you're used to MFC, there are a couple of things you'll find missing, like doc/view, command routing, and UI update. The .NET answer to this is a code generator that writes new code for every single element. But there's a better way. In this article, Paul DiLascia shows how to develop an XML-based GUI language parser for .NET that lets you code resources, menus, toolbars, and status bars in XML instead of with procedural code. He also shows how a user interface based on XML can easily be localized using standard .NET techniques, and introduces his very own library, MotLib.NET, with lots of GUI goodies for your programming pleasure.

Paul DiLascia

MSDN Magazine November 2002

Go Global: Designing Your ASP-based Web Site to Support Globalization


If you have a Web site for your business, you already have an international presence. But how can you make sure users in any country can access your site effectively? The Trigeminal Software site at http://www.trigeminal.com has pages localized into up to 48 languages and allows users to see pages in the language of their choice. This article describes how the site was implemented and how issues such as whether the site should use frames and what character set to choose for multibyte languages were dealt with. Which database to use for storing dynamic content, whether to use static or dynamic pages, and how to implement localized solutions on both Windows NT 4.0 and Windows 2000 is also discussed.

Michael Kaplan

MSDN Magazine July 2000

Localization .RESX files - How to work with translators


I understand I need to place all the translated strings in .RESX files. How do I work with translators??? I do not think they will be able to open RESX files? Please advise your existing method of working with them. They mostly know Word... :)


Localization for command text Microsoft Ribbon for WPF

Hello, Is there any way I can localize the command text that comes with the ribbon, like the commands in the Ribbon context menu?   Add to Quick Access Toolbar Add gallery to Quick Access Toolbar Remove from Quick Access Toolbar Show Quick Access Toolbar above the Ribbon Show Quick Access Toolbar below the Ribbon Minimize the Ribbon Maximize the Ribbon   I got this list from the Source -- \Resources\ExceptionStringTable.txt

Automated MVC Application Localization

Hi everyone,I've been asked to localize an existing MVC application which wasn't prepared to be localized from its foundations. As of now I have gathered all the resources from the controllers, using the tool from this website http://resourcerefactoring.codeplex.com/ .This tool allowed me to simply right click any string found on my controllers and generate resources automatically to my Resource file.Since this application is quite big, I've been looking for some application (alike the one I just referenced) that could make this process a little faster by making it easier to localize strings within html tags and so on.Do any of you have suggestions?Thanks in advance.

Where is the m_cultureTableRecord field and "System.Globalization.CultureTableRecord"?

Hi, In the previous versions of .net framework (before 4.0) we were reflect the DateTimeFormatInfo and the System.Globalization.CultureTableRecord from the mscorlib.dll assembly to push the persian calendar to the current culture but in the .net framework 4.0 I coudnt find them and I got null exception.is there anyone know what happend to thease items or what is the new situation for them?
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend