Re: Localization and international preferences
Re: Localization and international preferences
- Subject: Re: Localization and international preferences
- From: Markus Hitter <email@hidden>
- Date: Tue, 5 Feb 2002 21:40:41 +0100
Am Dienstag den, 5. Februar 2002, um 10:06, schrieb louloulou:
Thank you Markus for your answer.
This will launch the App with root's settings.
In fact I've thougth about this and international preferences
for root are
exactly the same (one language is selected : French) :(
OK, I take it back and claim the opposite ;-)
Possibly, User Defaults fall back to some hardcoded language in
your case.
My guess is, you have to find another way to get your privileged
snippet to work:
For example, fetch the info you need in your main app, then
transfer it to your root tool. This can be done by some
communications channel (i.e. pipe to tool's stdin) or by adding
the info as parameters when calling the tool. For the latter,
your tool can read the stuff using argv[].
Other way would be to rely on the few methods where you can
request some none-default localisation explicitely.
NSCalendarDate jumps to mind.
Hope that helps,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.