• 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: Localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localization


  • Subject: Re: Localization
  • From: Emmanuel <email@hidden>
  • Date: Fri, 10 Jan 2003 10:09:16 +0100

At 3:04 PM -0500 09/01/03, Steve Roy wrote:
email@hidden (Emmanuel) wrote:

display dialog (Localize "Some message") buttons Localize {"Cancel",
"Continue"}

That's nice! Makes me wonder why it's not built into AppleScript!

Unfortunately my scripts can't use Smile as they will be run by a specific
application. Still I'd like to know more about it. I was looking at Smile's
dictionary and the entry for 'localize' doesn't say much. Is there a predefined
list of strings that it will recognize?

Each "[language].proj" folder of the "Contents/Resources" folder of the Smile package contains a "smileLocalized.strings" formatted this way:

(e.g. Smile/Contents/Resources/French.proj/smileLocalized.strings)

"OK" = "D'accord";
"Cancel" = "Oh puis non";
"Find" = "Va chercher";
...

You add a new language by duplicating an existing "[language].proj" folder. Then you edit the "smileLocalized.strings".

These features are more easily available in the soon coming next version of Smile, which includes a specific tool for handling the localization. If you're subscribed to the Smile User List (subscribe URL: <mailto:email@hidden?Subject=subscribe sul>), the version that was proposed there for download is final on that point.

Also, each custom dialog can be localized independently of Smile itself: you can distribute a "Find" dialog which will display Portuguese if the OS' preferred language is set so, even while Smile itself (menus, error messages etc.) is not yet localized into "Portuguese". (Such dialogs understand "tell theDialog to get Localized ("blah")").

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

  • Prev by Date: Top level garbage strike
  • Next by Date: Getting .Mac info
  • Previous by thread: Re: Localization
  • Next by thread: Re: applescript-users digest, Vol 3 #1219 - 15 msgs
  • Index(es):
    • Date
    • Thread