• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why do "loose" nibs take precedence over nibs in .lproj?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why do "loose" nibs take precedence over nibs in .lproj?


  • Subject: Re: Why do "loose" nibs take precedence over nibs in .lproj?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 19 Jan 2005 19:18:34 -0800

on 05/01/19 07:09, Ricky Sharp at email@hidden wrote:

> Looking first for a non-localized version is most likely by design.  Check out
> this quote.....

OK, I agree that the behavior is documented, although in the "Bundles and
Localization" document it also says "When an NSBundle is asked for a
resource file, it provides the path to the resource that best matches the
user¹s language preferences," which makes more sense to me.

So, it's not a bug, but maybe an enhancement request.

> Ultimately, it would be best if the installer/updater would have removed the
> non-localized version.  I would write up a bug about that.

If no one disagrees, I shall file this as a bug on the Apple Installer.

> As a workaround...a post-install/update shell script,,,manually load the
appropriate [resource].

Here is an easier solution, since my app is only a single package.  I shall
distribute my new version by simply stuffing the package and telling the
user to drag it to /Applications or wherever.  I used the Apple Installer
last year because I was getting a lot of complaints about Stuffit archives
not being executable, but I understand that Aladdin has fixed that now.

> Finally, even if you initially don't plan on any localization, you should
> really set your nibs, strings. etc to be localizable...

I know, I was a beginner.

Thanks, Ricky.


 _______________________________________________
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

  • Follow-Ups:
    • Re: Why do "loose" nibs take precedence over nibs in .lproj?
      • From: "Sean McBride" <email@hidden>
    • Re: Why do "loose" nibs take precedence over nibs in .lproj?
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: Why do "loose" nibs take precedence over nibs in .lproj? (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Cocoa bindings and a custom view...
  • Next by Date: Re: Writing a method like "sharedApplication"
  • Previous by thread: Re: Why do "loose" nibs take precedence over nibs in .lproj?
  • Next by thread: Re: Why do "loose" nibs take precedence over nibs in .lproj?
  • Index(es):
    • Date
    • Thread