Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionCultureResolver.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 culture information doesn't exist in the session, it will be created and its value will be set to the value of the 'Accept-Language' request header, or if no headers are specified to the culture of the current server thread.

See Also

SessionCultureResolver Class | Spring.Globalization.Resolvers Namespace