discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Load localized gorm file in framework


From: Gregory John Casamento
Subject: Re: Load localized gorm file in framework
Date: Wed, 25 Apr 2007 07:00:45 -0700 (PDT)

Actually, I meant "localized gorm files."  Sorry for the confusion. :)
 
--
Gregory Casamento

----- Original Message ----
From: Yen-Ju Chen <yjchenx@gmail.com>
To: Gregory John Casamento <greg_casamento@yahoo.com>
Cc: Fred Kiefer <fredkiefer@gmx.de>; Discuss GNUstep <discuss-gnustep@gnu.org>
Sent: Wednesday, April 25, 2007 1:28:37 AM
Subject: Re: Load localized gorm file in framework

On 4/24/07, Gregory John Casamento <greg_casamento@yahoo.com> wrote:
> Suprisingly?  Gorm.app itself uses this feature. ;)

 By "surprisingly", I mean I originally reported it does not work,
 but it turned out to be my problem. :)
 I took a look of Gorm.app and it does not use framework.
 And the loadable bundles (palette) are not localized.
 Even GNUstep-base and -gui do not use framework, but libraries with resources.

  I know GNU GCC does not support frameworks.
  But I think gnustep-make 2.0 supports frameworks in an alternative way
  that GNUstep (and applications based on it) should take advantage of it.

 Yen-Ju

>
> --
> Gregory Casamento
>
> ----- Original Message ----
> From: Yen-Ju Chen <yjchenx@gmail.com>
> To: Fred Kiefer <fredkiefer@gmx.de>
> Cc: Discuss GNUstep <discuss-gnustep@gnu.org>
> Sent: Tuesday, April 24, 2007 9:09:44 PM
> Subject: Re: Load localized gorm file in framework
>
> On 4/24/07, Fred Kiefer <fredkiefer@gmx.de> wrote:
> > Wolfgang Lux wrote:
> > > Fred Kiefer wrote:
> > >
> > >> loadNibNamed:owner: does not look for language specific versions of the
> > >> file. If this behaviour is different from what Apple does, please file a
> > >> bug report and we will fix it in GNUstep.
> > >
> > > Apple's implementation of +loadNibNamed:owner: definitely looks for a
> > > language specific version.
> > >
> >
> > Sorry, my statement in the last mail was wrong. +loadNibNamed:owner:
> > goes through -loadNibFile:externalNameTable:withZone: which uses
> > -pathForNibResource: to find a language specific version of the file first.
> > This brings up the original question again. Why is the localized version
> > of the Gorm file not loaded? Possible reasons:
> >
> > - The bundle for the owner can not be determined.
> > - The owner comes from a different bundle than the resource.
> > - "English" has not been set up properly as a language.
> >
> > Yen-Ju, could you please try to debug your code and find out which is
> > the case?
>
>   I was writing an example to show you the problem
>   and surprisingly it can load localized gorm file.
>   So it is a bug in my application, not GNUstep.
>   Sorry for the trouble. :)
>
>   Yen-Ju
>
> >
> > Cheers,
> > Fred
> >
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>
>
>







reply via email to

[Prev in Thread] Current Thread [Next in Thread]