Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultWebCultureResolver.GetRequestLanguage Method

Extracts the users favorite language from "accept-language" header of the current request.

[Visual Basic]
Protected Overridable Sub GetRequestLanguage()
[C#]
protected virtual string GetRequestLanguage();

Return Value

a language string if any or null, if no languages have been sent with the request

See Also

DefaultWebCultureResolver Class | Spring.Globalization.Resolvers Namespace