Microsoft.AspNetCore.Localization Namespace

Provides middleware and supporting types for localizing ASP.NET Core applications.

Classes

AcceptLanguageHeaderRequestCultureProvider

Determines the culture information for a request via the value of the Accept-Language header.

CookieRequestCultureProvider

Determines the culture information for a request via the value of a cookie.

CustomRequestCultureProvider

Determines the culture information for a request via the configured delegate.

ProviderCultureResult

Details about the cultures obtained from IRequestCultureProvider.

QueryStringRequestCultureProvider

Determines the culture information for a request via values in the query string.

RequestCulture

Details about the culture for an HttpRequest.

RequestCultureFeature

Provides the current request's culture information.

RequestCultureProvider

An abstract base class provider for determining the culture information of an HttpRequest.

RequestLocalizationMiddleware

Enables automatic setting of the culture for HttpRequests based on information sent by the client in headers and logic provided by the application.

Interfaces

IRequestCultureFeature

Represents the feature that provides the current request's culture information.

IRequestCultureProvider

Represents a provider for determining the culture information of an HttpRequest.

Remarks

For more information about localizing ASP.NET Core applications, Globalization and localization in ASP.NET Core.