Re: localized nibfile is not loaded
Re: localized nibfile is not loaded
- Subject: Re: localized nibfile is not loaded
- From: Clark Cox <email@hidden>
- Date: Sun, 8 May 2005 19:50:08 -0400
Add empty '*.lproj" folders to the carbon app for each of the
localizations that the bundle supports.
On 5/8/05, Sven Hoffmann <email@hidden> wrote:
> Hi everyone,
>
> I have a carbon app, thap brings up a Cocoa GUI, which runs modally, at
> some point.
> The carbon app is neither internationalized nor localized.
> When the Cocoa GUI's controller init method loads the nibfile for the
> GUI,
> loadNibNamed:owner does not pick the nibfile according to the user
> defaults.
>
> When I ask the GUI's bundle with preferredLocalizations for the
> available localizations,
> that match the user defaults I, only get returned the first
> localization in the
> Bundle's Contents/Resources folder, english.
>
> I have the feeling that the lacking context of a localized Cocoa "main"
> application is causing
> the problem, but everything else works just fine for the Cocoa GUI, so
> I am not sure.
>
> Please, if anybody has the slightest idea what is going on here, let me
> know.
>
> Thanks
> ------------------------------------------------------------------------
> ------------
> Sven Hoffmann
> **************************************************************************************************
> The contents of this email and any attachments are confidential.
> It is intended for the named recipient(s) only.
> If you have received this email in error please notify the system manager or the
> sender immediately and do not disclose the contents to anyone or make copies.
>
> ** eSafe scanned this email for viruses, vandals and malicious content **
> **************************************************************************************************
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden