aspnetcore/fundamentals/localization.md
:::moniker range="> aspnetcore-5.0"
By Rick Anderson, Damien Bowden, Bart Calixto, Nadeem Afana, and Hisham Bin Ateya
A multilingual website allows a website to reach a wider audience. ASP.NET Core provides services and middleware for localizing into different languages and cultures.
For Blazor localization guidance, which adds to or supersedes the guidance in this article, see xref:blazor/globalization-localization.
The RFC 4646 format for the culture name is <language code>-<country/region code>, where <language code> identifies the language and <country/region code> identifies the subculture. For example, es-CL for Spanish (Chile), en-US for English (United States), and en-AU for English (Australia). RFC 4646 is a combination of an ISO 639 two-letter lowercase culture code associated with a language and an ISO 3166 two-letter uppercase subculture code associated with a country or region. For more information, see xref:System.Globalization.CultureInfo?displayProperty=fullName.
Globalizing and localizing an app involves the following tasks:
View or download sample code (how to download)
<!-- Move mini TOC from ## Additional resources to here ## Additional globalization and localization topics -->IStringLocalizer : Uses the xref:System.Resources.ResourceManager and xref:System.Resources.ResourceReader to provide culture-specific resources at run time. The interface has an indexer and an IEnumerable for returning localized strings.IHtmlLocalizer: For resources that contain HTML.:::moniker-end
[!INCLUDE localization35]