Re: Path to ... as string [was Re: Complete newbie]
Re: Path to ... as string [was Re: Complete newbie]
- Subject: Re: Path to ... as string [was Re: Complete newbie]
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 26 Apr 2003 02:55:45 -0700
On 4/26/03 2:17 AM, "Federico" <email@hidden> wrote:
>
A quick note about non-English machines... Mine is an "italian
>
machines" (I choose italian as first language on "International"
>
preference pane), so, when I browse my disk with the Finder I see
>
"Utenti" instead of "Users", "Libreria" instead of "Library" (this
>
should have been translated as "Biblioteca" :)), "Documenti" instead of
>
"Documents", etc.
>
>
But that's just the Finder translating folders names. This translation
>
works only in Jaguar and only if the folder contains a ".localized"
>
file, and the "Always show file extension" Finder preference is off.
>
>
The real folder name (e.g. the one i must use with shell applications)
>
is still "Documents", not "Documenti".
>
>
So the script:
>
>
(path to "boot" as string) & "Users:username:Documents:"
>
>
Works on my machine (if I change 'username' with the real one), and I
>
believe will work on other non english machines but this:
>
>
(path to "boot" as string) & "Utenti:username:Documenti:"
>
>
does *not* work since really there is no folder called "Utenti" (nor
>
"Documenti") on my disk.
That's interesting. Is this true for all languages - Chinese, etc? The names
of all folders created by the OS are in English, as known to the file
system?
--
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.