Auto Selecting Cultures for Localization in ASP.NET

Posted by Rick Strahl on West-Wind See other posts from West-Wind or by Rick Strahl
Published on Thu, 27 Mar 2014 12:11:42 GMT Indexed on 2014/05/26 21:27 UTC
Read the original article Hit count: 231

Filed under:
|
When creating multi-language Web sites, one of the key issues you need to deal with is how to assign a culture to display the appropriate resources. Whether you need to auto-switch locales based on browser language, or explicitly assign a locale based on user preferences there is generally some code logic involved in making these decisions. In this post I show what options are available and a small helper that simplifies setting the culture in ASP.NET applications.

© West-Wind or respective owner

Related posts about ASP.NET

Related posts about localization