Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CookieCultureResolver.ResolveCulture Method

Resolves the culture from the request.

[Visual Basic]
Public Overrides Sub ResolveCulture() _
    Implements ICultureResolver.ResolveCulture
[C#]
public override CultureInfo ResolveCulture();

Return Value

Culture that should be used to render view.

Implements

ICultureResolver.ResolveCulture

Remarks

If the culture cookie doesn't exist, this method will return the value of the 'Accept-Language' request header, or if no headers are specified, the culture of the current server thread.

See Also

CookieCultureResolver Class | Spring.Globalization.Resolvers Namespace