• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting the default language with AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the default language with AppleScript


  • Subject: Re: Getting the default language with AppleScript
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 25 Jul 2004 21:12:10 -0700

On 7/25/04 8:44 PM, "Sander Tekelenburg" <email@hidden> wrote:

> At 12:18 -0700 UTC, on 2004/07/25, Paul Berkowitz wrote:
>
> [...]
>
> [defaults read -g AppleLocale]

Thanks for testing, Sander.
>
>> We need someone in Europe or Asia to make a new user, don't touch
>> International Prefs at all, and see what the result is.
>
> Mac 1:
> I get "en_NL" on an Archive&Installed Panther (10.3.4). Fresh user. Never
> touched any settings.
>
> Mac 2:
> same circumstances (except being a Wipe&Install of Panther Server), I get
> "en_US".

But that's still different than in the US, where Erase and Install, at least
of first user, results in "". It's the "" which I'm trying to discover.

Does "" = "en_US"?

It may be that on non-US OS 10.3 installs, nobody ever gets "" because
something has been explicitly pre-set to some value.

Or it may be that you do get "" and it means "en_US".

Or it may be that you do get "" and it means "first in the languages list",
which could be some other language.

I think it's pretty clear that subsequent users inherit from first admin by
default.
>
> On both, user 501 (the first user on a Mac OS X box) returns "en_US", so it
> seems that the language might either be "en" by default, or inherited from
> the first user.

Right, What we need is for a total Erase and Install of first user.
>
> The "NL" string apparently does not get inherited from the location/time zone
> or Date&Time settings of the machine, as these settings do not differ on
> these 2 machines (for users 501).

That's clear (and expected, at least by me).
>
>
> A tidbit that might be interesting is that on Mac 2 dutch is not installed.
> (Only english, french german and something that might be chinese.) On Mac 2
> dutch is installed, but for that new user it's listed 7th (english first).
> (Yes, I ran defaults before looking in the International PrefPane ;))

Interesting. I think this may depend on which languages you chose to install
from the CD?

--
Paul Berkowitz
_______________________________________________
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.


  • Follow-Ups:
    • Re: Getting the default language with AppleScript
      • From: Sander Tekelenburg <email@hidden>
References: 
 >Re: Getting the default language with AppleScript (From: Sander Tekelenburg <email@hidden>)

  • Prev by Date: Re: Getting the default language with AppleScript
  • Next by Date: Safari adds 2 windows....
  • Previous by thread: Re: Getting the default language with AppleScript
  • Next by thread: Re: Getting the default language with AppleScript
  • Index(es):
    • Date
    • Thread