best way to get user's default language...not a list of installed languages
best way to get user's default language...not a list of installed languages
- Subject: best way to get user's default language...not a list of installed languages
- From: Graham Anderson <email@hidden>
- Date: Wed, 26 Jan 2005 09:44:05 -0800
wow that was a bit confusing...
is there an accepted way to get the user's default language that works
in most case and then politely fails if it can not ?
On Jan 26, 2005, at 8:01 AM, Adam K. Wuellner wrote:
On Jan 25, 2005, at 11:06 PM, Graham Anderson wrote:
I have started to beta test the app and someone reported this bug:
2005-01-25 21:18:30.933
defaults[421]
The domain/default pair of (kCFPreferencesAnyApplication,
AppleLocale) does not exist
anyone know what that could be ?
<snip>
--Language
set defaultLanguage to do shell script "defaults read -globalDomain
AppleLocale"
<snip>
There is a discussion in the archives, thread title "Getting the
default language with AppleScript", that covers this. The method you
are using is not sufficient for all cases.
It starts here:
<http://lists.apple.com/archives/applescript-users/2004/Jul/
msg00138.html>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden