• 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: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]


  • Subject: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • From: KOENIG Yvan <email@hidden>
  • Date: Mon, 16 Mar 2009 19:45:33 +0100


Le 16 mars 2009 à 17:22:33, Mark J. Reed a écrit :

Things get blurry with things like spreadsheet formulas, where there
are end users writing formulas who are definitely not software
developers and certainly shouldn't have to know English to use the
tool.  But there is also no dictionary support in Numbers for
accessing the formula functions, so the fact that function names are
different across locales makes it harder to share Numbers-targeting
Applescript code.


Some weeks ago I posted a complicated script.
It is required for those using iWok '09 components in a language which is not matching the language used by the operating system.
For those using the application with the system setting, it's really easy to get the localized functions name:


<script>
set ISBLANK_loc to my getLocalizedFuncName("ISBLANK")
set VLOOKUP_loc to my getLocalizedFuncName("VLOOKUP")
--=====

on getLocalizedFuncName(x)
return localized string x from table "Localizable" in bundle file ((path to application support as text) & "iWork '09:Frameworks:SFTabular.framework:Versions:A:Resources:")
end getLocalizedFuncName


--=====
<script>

On a French system it returns:

tell current application
path to application support as text
"Macintosh HD:Library:Application Support:"
localized string "ISBLANK" from table "Localizable" in bundle file "Macintosh HD:Library:Application Support:iWork '09:Frameworks:SFTabular.framework:Versions:A:Resources:"
"ESTVIDE"
path to application support as text
"Macintosh HD:Library:Application Support:"
localized string "VLOOKUP" from table "Localizable" in bundle file "Macintosh HD:Library:Application Support:iWork '09:Frameworks:SFTabular.framework:Versions:A:Resources:"
"RECHERCHEV"
end tell



Yvan KOENIG (from FRANCE lundi 16 mars 2009 19:45:24)


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: Shane Stanley <email@hidden>)
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: KOENIG Yvan <email@hidden>)
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: KOENIG Yvan <email@hidden>)
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • Next by Date: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • Previous by thread: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • Next by thread: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • Index(es):
    • Date
    • Thread