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
) - WPFCultureDemo (showing all cultures and regions with a WPF application)
- ResourcesDemo (accessing resources using
ResourceManager
) - WPFApplication (using localized resources from XAML code)
- WebApplication (using
CultureInfo
andIStringLocalizer
with ASP.NET Core) - UWPLocalization (localizing with UWP and XLF)
- CustomCultures (creating a custom culture, .NET Framework only)
To build and run the .NET Core samples, please install
- Visual Studio 2017 with the .NET Core workload
Please download and install the tools from .NET Core downloads.
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!