Re: [Pyobjc-dev] py2app: unable to load nib-file
Brought to you by:
ronaldoussoren
|
From: Nigel K. <ni...@ex...> - 2009-04-14 23:07:53
|
On Tue, Apr 14, 2009 at 11:13 AM, Ronald Oussoren <ron...@ma...> wrote: > > On 14 Apr, 2009, at 18:57, Johan Rydberg wrote: > >> BTW, how do Cocoa know to seach inside English.lproj? Is there >> defined search order for >> resources? > > The order is determined by the Language settings in the "International" > preference pane. When none of the languages matches a .lproj folder in your > .app folder the systems searches directly in the Resources folder. The > actual mechanism is described in Apple's documentation somewhere (I don't > have a handy reference). http://developer.apple.com/documentation/CoreFOundation/Conceptual/CFBundles/Concepts/SearchAlgorithm.html#//apple_ref/doc/uid/20001120 gives an overview and some relevant links. > > Ronald > >> >> On Tue, Apr 14, 2009 at 9:40 AM, Ronald Oussoren <ron...@ma...> >> wrote: >>> >>> On 14 Apr, 2009, at 8:54, Johan Rydberg wrote: >>> >>>> Odd, because I've seen people just add English.lproj to data_files. >>>> For example, look at >>>> /Developer/Examples/Python/PyObjC/Cocoa/AppKit/Todo/setup.py. >>> >>> Adding English.lproj to data_files should just work, if it doesn't you >>> have >>> found a bug in py2app. >>> >>> Ronald >>> >>> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > |