• 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: Path to ... as string [was Re: Complete newbie]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path to ... as string [was Re: Complete newbie]


  • Subject: Re: Path to ... as string [was Re: Complete newbie]
  • From: Federico <email@hidden>
  • Date: Sat, 26 Apr 2003 21:05:47 +0200

Sabato, 26 apr 2003, alle 16:13 Europe/Rome, Paul Berkowitz ha scritto:

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.

Nope, you'll just have a regular OS 10.2.5 as I have, with a certain preferred language, and if it's one of these (see "Languages included"):

http://docs.info.apple.com/article.html?artnum=107379

You'll see translated folder names.

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?

It think this is the case: there is only one OS whose system folders always have an english name (/System is always /System, /Library is always /Library, an user's documents folder is always 'Documents' on its home folder).

Then these folder's names are tranlated according to user's preference when he browses his disks.

Also, the language for the system itself (e.g.: the one used for startup messages or the login window) is set when installing the system, and the language for any new users is the one the admin is using when he creates them, so, there is nothing that makes my system more italian or even chinese than yours :)

The box, maybe, is different. That will have to wait until monday, it's saturday night and I don't want to go to my office :)

There, I have some non-geek boxes where I can test.

The only difference that there might be between versions of Jaguar bought on different areas of the globe is that some might have a different set of localizations and fonts on the installation CDs (to keep the number of CDs on the distribution to a minimum), but the base system is still "english-based". I read this on a PDF about multilingual and unicode support on OS X, probably linked in a comment at macosxhints.com. I can't seem to find it now, so I can't quote it or post its URL.

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.

If they still have the '.localized' file on their folders, they'll see translated names when using the Finder, and they'll get english names when using Terminal.app or AppleScript (with some exception with the Finder), as happened to me this morning when I added a '.localized' file to my Documents folder.

Also, since I do not usually touch stuff outside my home folder, .localized files on /System, /Library, /Applications and /Users are still there from my first install, so when I ask for "path to system folder" I get 'alias "Bif:System:"', and not 'alias "Bif:Sistema:"', although "Sistema" is the name I see with the Finder.

And I can't use the localized name (e.g.: alias "Bif:Sistema:" because there ain't no folder with that name on my startup disk).

With the Finder, things are a bit different, because I can ask it to do something on a folder using its localized name (but only if that folder has a .localized file in it).

Events that returns folders always use the original, not translated name, with the exception of 'displayed name':

name of folder "Bif:System:"
-- "System"
name of folder "Bif:Sistema:"
-- "System"
displayed name of folder "Bif:System:"
-- "Sistema"
displayed name of folder "Bif:Sistema:"
-- "Sistema"

Note that I get the same result both with my current user (the one with only the Documents folder translated) and with a brand new user I created to run these test, that has all the .localized files in place.

I haven't restarted my iBook, but I don't think that results will change.

Right. (No screenshot survived the mailing list, but I'll take your word for
it.)

Strange, I didn't attach a picture to my message, but only posted this URL:
http://geek.iworks.it/Public/Misc/localized.jpg

--
Federico
_______________________________________________
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.

References: 
 >Re: Path to ... as string [was Re: Complete newbie] (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: AppleScript TID bug OS 10.2.5? [again]
  • Next by Date: Re: AppleScript TID bug OS 10.2.5? [again]
  • Previous by thread: Re: Path to ... as string [was Re: Complete newbie]
  • Next by thread: Re: Path to ... as string [was Re: Complete newbie]
  • Index(es):
    • Date
    • Thread