Hi,
in GNUMail I have the following code:
#ifndef MACOSX
aLocale = [NSDictionary dictionaryWithContentsOfFile: [[NSBundle
bundleForLibrary: @"gnustep-base"]
pathForResource: @"English"
ofType: nil
inDirectory: @"Languages"]];
#else
aLocale = [NSDictionary dictionaryWithContentsOfFile: [[NSBundle
bundleForClass:[NSObject class]]
pathForResource: @"English"
ofType: nil
inDirectory: @"Languages"] ];
#endif
how are you supposed to get a specific locale, before the existence of
NSLocale? A first test shows that right now the Mac code seems to work
on GNUstep too, so perhaps this is old cruft, but I wanted to understand
better and know the alternatives.
Riccardo
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep