• 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
Currently used locale
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Currently used locale


  • Subject: Currently used locale
  • From: Stefan Fisk <email@hidden>
  • Date: Sat, 29 Oct 2005 10:51:00 +0200

Hi all!

I'm writing an external script with locale support that needs to use the same locale as the application that is calling it, because the output of the script will be used in the interface. My only problem is that I can't find any good way to get the applications currently used locale. The closest I get is [[NSBundle mainBundle] preferredLocalizations], but since that returns an array i don't know which one to choose.

Any help on the subject would be greatly appreciated.


Best Regards

Stefan Fisk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Currently used locale
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Newbie Q : connections with nib files in other projects
  • Next by Date: Re: Newbie Question: Find spaces inside a string
  • Previous by thread: Newbie Q : connections with nib files in other projects
  • Next by thread: Re: Currently used locale
  • Index(es):
    • Date
    • Thread