Microsoft.AspNetCore.Mvc.Localization Namespace

Provides types that support globalization and localization of MVC applications.

Classes

HtmlLocalizer

An IHtmlLocalizer that uses the provided IStringLocalizer to do HTML-aware localization of content.

HtmlLocalizer<TResource>

An IHtmlLocalizer implementation that provides localized HTML content for the specified type TResource.

HtmlLocalizerExtensions

Extension methods for IHtmlLocalizer.

HtmlLocalizerFactory

An IHtmlLocalizerFactory that creates instances of HtmlLocalizer using the registered IStringLocalizerFactory.

LocalizedHtmlString

An IHtmlContent with localized content.

ViewLocalizer

An IViewLocalizer implementation that derives the resource location from the executing view's file path.

Interfaces

IHtmlLocalizer

Represents a type that does HTML-aware localization of strings, by HTML encoding arguments that are formatted in the resource string.

IHtmlLocalizer<TResource>

An IHtmlLocalizer that provides localized HTML content.

IHtmlLocalizerFactory

A factory that creates IHtmlLocalizer instances.

IViewLocalizer

Represents a type that provides HTML-aware localization for views.

Remarks

For more information Globalization and localization.