• 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
Localization and Regions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Localization and Regions


  • Subject: Localization and Regions
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Tue, 08 Nov 2011 13:31:28 +0700

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Localization and Regions
      • From: "Gary L. Wade" <email@hidden>
  • Prev by Date: Re: Any success with SMLoginItemSetEnabled?
  • Next by Date: Re: Localization and Regions
  • Previous by thread: Re: Custom About Box with background shape
  • Next by thread: Re: Localization and Regions
  • Index(es):
    • Date
    • Thread