Search code examples
asp.netlocalizationglobalizationcultureinfo

ASP.NET Resource File Globalization and Localization Per Region


I am developing a website which needs to support multiple langauges.

I know that I can a seperate set of resource files for each culture and use that to manage the different languages e.g. when a user selects French set the UiCulture to be french and ASP.NET will pick up on the french resource files.

My problem is that I may have to support French for a Canadian version of the site and french for a European version of the site. The text will be a bit different as the Canadian market is different from the french one.

Is there a way I can support two copies of "French" resource files - one for Canada and one from France using the UiCulture described above?


Solution

  • For Canadian french, there is culture settings available specifically for that, fr-CA. You just need to set that.

    enter image description here