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 07:13:18 -0700
On 4/26/03 3:41 AM, "Federico" <email@hidden> wrote:
>
Sabato, 26 apr 2003, alle 11:55 Europe/Rome, Paul Berkowitz ha scritto:
>
>
> 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?
>
>
I believe so... you can test this yourself by choosing a random
>
language in System Preferences :) take a look at this screenshot:
>
http://geek.iworks.it/Public/Misc/localized.jpg
No, I don't think that proves anything. That means I'll have a US version of
OS 10.2.5, with Italian or Chinese set as first preferred language. That's
not necessarily the same as an Italian or Chinese or "International" version
of the OS with the same language set as first preferred language.
So I guess the question now is - is it the same, or different? Are there no
longer different localized versions of the OS, just different preferred
languages?
>
>
In System Preferences, I've set as first language one I think is
>
Chinese (not sure, since I do not know Chinese, or other oriental
>
languages, and the items of the list are localized, too).
>
>
However, I think it is still useful to prove the point.
>
>
Note that for personal preference, a while back, I've removed all
>
'.localized' files from my home's subfolders.
Ah, there you are. I suspect that all the people who have _not_ removed all
'.localized' files (which would probably be about 99.4% of users, or higher)
do not get the English "Users:" and "Documents:" returned as the names of
those folders.
>
>
I've localized 'Documents' today just for this test.
>
>
As you can see from the Finder window in the screenshot, the /Library,
>
/Applications, /System, /Users, /Users/Shared,
>
/Users/federico/Documents are all translated. Also, they are sorted by
>
*localized* name, not original name.
Right. (No screenshot survived the mailing list, but I'll take your word for
it.)
>
>
Another thing to note is that localization works on the standard
>
save/open dialog too: dialogs for localized apps will show localized
>
names, in the language the app is currently using: after changing the
>
language in System Preferences, I restarted the Finder only; Mail.app
>
was still running in italian, and on its 'save as' dialog I saw italian
>
folder names.
Right.
>
>
On the screenshot's background, you can see a Terminal.app window, with
>
the list of my home's subfolders. On the third row of the first column,
>
you can see that the Documents folder is listed as 'Documents', its
>
real name, not the localized one.
That's the interesting part. Try restarting your computer with all the
.localized files intact. Is this still true? And do you have an "Italian"
version of the OS, or how is it described on the box?
>
>
Also if i run this:
>
>
tell application "Finder" to get items of home
So, even the Finder uses English names now?
>
>
or this:
>
>
list folder (path to "cusr")
>
>
or this:
>
>
path to "docs"
>
>
Resulting items all have their real names.
Do you have any way of testing this on a non-geek computer, just an ordinary
Italian Mac OS 10.2.x with no modifications made?
--
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.