Assuming that I have the following language preferences (System Preferences → 
Language and Text → Language):

British English,
Deutsch
Français
English

what is a program supposed to do if it has:
en.lproj
de.lproj
but NOT en_GB.lproj ?

I guess (but did not find an authoritative answer) that it should look for:
en_GB
en
de
fr
en
it's development language (Localization native development region = 
CFBundleDevelopmentRegion)

But with my language settings -[NSFont displayName] returns German font names.
Obviously NSFont does not have en_GB font names, and it does NOT look into it's 
en.lproj but jumps directly to de.lproj.

When I change my language preferences to:
British English,
English
Deutsch
Français

NSFont works as expected.


Is this correct? Or should I file a bug?
I have no recollection of seeing this before Lion (I'm using 10.7.2).

Also: this language mixture (mostly English, sometimes mixed with some German) 
is seen in several places, but the font display name is an easily reproducible 
example.


Kind regards,

Gerriet.
 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to