You've already seen how we have multiple resource files that act together as one thing. This thing is called a resource bundle. As the name implies, a resource bundle is the term given to a collection of resource files that all work together. Why would you want more than one resource file? A single resource file can contain a set of values only for a specific language and locale. Therefore, if you want to support multiple languages and locales in your application, you will need multiple resource files—one for each language and locale.
In this case, so far, we have one resource file—the file named Hansel.rrc
. The other file created, named Hansel.rrh
, is the resource header file. This file stores the names of each resource key but not any values associated with that key. The resource file, the .rrc
file, is what contains the actual values for each of the keys.
Why is this important? Remember that there are meant to be several resource files—one for each language and locale that...