default language - do shell script - 10.2.8 problem
default language - do shell script - 10.2.8 problem
- Subject: default language - do shell script - 10.2.8 problem
- From: "Armin Egginger [x]" <email@hidden>
- Date: Tue, 15 Mar 2005 20:03:30 +0100
Hi Scripters,
i use the shell script to get the default language of the system. Works fine in 10.3 but not in 10.2.8
my script:
set xTextLang to (do shell script "defaults read -g | grep AppleLanguages")
my script:
works fine in 10.3 - BUT NOT IN 10.2.8
the result in 10.3
" AppleLanguages = (en, ja, fr, es, it, nl, sv, no, da, fi, pt, \"zh_CN\", \"zh_TW\", ko); "
the result in 10.2.8 - without languages!
" AppleLanguages = ("
the result in the defaults in 10.3
AppleLanguages = (de, en, ja, fr, es, it, nl, sv, no, da, fi, pt, \"zh_CN\", \"zh_TW\", ko);
the result in the defaults in 10.2.8
there is a return between the languages like
AppleLanguages = (
de,
en,
ja,
fr,
es,
it,
nl,
sv, ....
Is it possible to get the content in 10.2.8 also? Any Tipp?
thx for your help
Armin
_______________________________________________
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