Currently used locale
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