Re: Getting the default language with AppleScript
Re: Getting the default language with AppleScript
- Subject: Re: Getting the default language with AppleScript
- From: Bill <email@hidden>
- Date: Sat, 24 Jul 2004 14:57:16 +0800
I had him check System Preferences/International/Formats and his is
set to
"United States". (Even when I changed mine to "Custom", logged out and
in,
I still got "en_US" for mine.) He has BSD installed normally.
Paul,
I tried to modify the setting in System
Preferences/International/Formats, each time I change the region, the
shell command "defaults read -g" reflects the change immediately.
-- in Terminal, Hong Kong, China
$ defaults read -g AppleLocale
en_HK
-- change to India
$ defaults read -g AppleLocale
en_IN
-- or change to Zimbabwe
$ defaults read -g AppleLocale
en_ZW
BTW, I guess AppleLocale doesn't represent the default language, you
may investigate AppleLanguages.
-- in Terminal
$ defaults read -g AppleLanguages
(en, "zh_TW", "zh_CN")
I guess the first item (en, on my machine) represents the default
language.
Regards
bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.