Re: Localization of initWithWindowNibName
Re: Localization of initWithWindowNibName
- Subject: Re: Localization of initWithWindowNibName
- From: Clark Cox <email@hidden>
- Date: Thu, 2 Oct 2003 08:05:35 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, Oct 1, 2003, at 23:42 US/Eastern, Steve Sheets wrote:
Lets keep the question simple...
I am opening a window using initWithWindowNibName. I had assumed that
Cocoa used a localized version of the file name, if I have one in my
bundle. When the apps main nib file is open, the application used the
correct localized one. However, when I test my code, this is not the
case. Do you have to do something special in this instance? Perhaps
use initWithWindowNibPath instead with the correct path, using the
main bundle for the localized version of the nib file? Or am I just
not doing something correctly, and should be able to use
initWithWindowNibName to open my window.
The names of localized resources should be the same for all
localizations. For example, if the nib in English.lproj is named
"MyNib.nib" then the nib in foo.jproj should also be named "MyNib.nib".
- --
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iEYEARECAAYFAj98FJYACgkQZ+zIIbXiIoN9KgCeP/0BD00ojaLhl4JQ1I7WG3Zz
l4EAnj0YcizqENpz+KP9WKjyQ19gR0UU
=fjt5
-----END PGP SIGNATURE-----
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.