Sample Carbon application extended: localized strings
I had some free time today so I decided to dive into Mac OS X documentation again. Two documents were
waiting for me on my desk - Internationalization
. Interesting reading about the differences between bundles and packages, about
localized strings etc.
To practice new knowledge, I extended my sample Carbon application
added localized window title. New version
has number 0.3 ;-)
Access to localized resources is very simple - you can just use the function
and prepare translated versions of the files
in your application bundle (see the source code for very simple example).
My application already contains localized bitmap and I added localized title into 0.3.
As you can see above (click on thumbnails to get larger images), the behavior depends on the
system International setting.