Readme - Code Samples for Chapter 22, Localization

December 23, 2021 ยท View on GitHub

In Localization you learn to localize applications using techniques that are important both for Windows and web applications.

Code Samples

This chapter contains the following code samples:

  • NumberAndDateFormatting (localized format strings)
  • SortingDemo (sorting with different cultures and using the invariant culture)
  • CreateResource (using ResourceReader and ResourceWriter)
  • WinUICultureDemo (showing all cultures and regions with a WinUI application)
  • ResourcesDemo (accessing resources using ResourceManager)
  • ASPNETCoreLocalization (using CultureInfo and IStringLocalizer with ASP.NET Core)
  • WinUILocalization (localizing with WinUI)

Updates with Windows App SDK 1.0

MRT Core APIs are now in the namespace Microsoft.Widnwos.ApplicationModel.Resources instead of Microsoft.ApplicationModel.Resources.

See Access app resources with MRT Core

More Information

See WinUI for building and running WinUI applications.

For code comments and issues please check Professional C#'s GitHub Repository

Please check my blog csharp.christiannagel.com for additional information for topics covered in the book.

Thank you!