In Localization you learn to localize applications using techniques that are important both for Windows and web applications.
This chapter contains the following code samples:
- NumberAndDateFormatting (localized format strings)
- SortingDemo (sorting with different cultures and using the invariant culture)
- CreateResource (using
ResourceReader
andResourceWriter
) - WinUICultureDemo (showing all cultures and regions with a WinUI application)
- ResourcesDemo (accessing resources using
ResourceManager
) - ASPNETCoreLocalization (using
CultureInfo
andIStringLocalizer
with ASP.NET Core) - WinUILocalization (localizing with WinUI)
MRT Core APIs are now in the namespace Microsoft.Widnwos.ApplicationModel.Resources
instead of Microsoft.ApplicationModel.Resources
.
See Access app resources with MRT Core
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!