1. Create a new resource file by right-clicking on the project and selecting New | Other....
3. Supply the filename
Hansel_es.rrc
and click on the Finish button.4. Repeat steps 1 and 2.
5. Supply the filename
Hansel_es_mx.rrc
and click on the Finish button.
Once this is done, notice that there is still only one .rrh
file, but we now have two more .rrc
files in the project. This is because both files began with the name Hansel
, and so were added to the already existing Hansel resource bundle. If you had chosen a different name, or perhaps misspelled the name, then another matching .rrh
file would have been created as well.
The names of the files that are created as part of a resource bundle are very important. This is where we start to get into the "magic" part that I warned you about. When there are multiple resource files, the operating system will use the default language and locale...