Summary
Program localization is supported through resources. There are several ways to generate resources, depending on the resource type. The available formats are text files with name/value pairs of strings or XML files, which are specifically suited to binary resources. These two file types are then converted to binary resource files, which may be included in assemblies.
The ResGen tool, included in the .NET Frameworks SDK, enables conversion between different resource types. The ResXGen and ResEditor are sample programs included with the .NET Framework SDK that help manage resources.
Resource files are placed in specified directories so localized programs can find the right resources. ResourceManager is the primary class, providing management ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access