<< DoLanguageEngineFormatDate | DoRequester >> |
Top: Documentation Library | Up: D Commands |
DoLanguageEngineLocalizeString Text Command
Gets the {...} .
localizedstring = DoLanguageEngineLocalizeString (languagelist, languagename, string) where string can be: NewMoon,WaxingCrescent,FirstQuarter,WaxingGibbous,FullMoon,WaningGibbous,LastQuarter,WaningCrescent, January,February,March,April,May,June,July,August,September,October,November,December, January4,February4,March4,April4,May4,June4,July4,August4,September4,October4,November4,December4, January3,February3,March3,April3,May3,June3,July3,August3,September3,October3,November3,December3, Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday, Sunday3,Monday3,Tuesday3,Wednesday3,Thursday3,Friday3,Saturday3, Sunday2,Monday2,Tuesday2,Wednesday2,Thursday2,Friday2,Saturday2
Parameters:
Results:
Notes:
See Also:
AlertRequester, AppendListString, CloseResource, CreateLanguageEngineList, CreateList, CreateRequester, DoLanguageEngineFormatDate, DoRequester, FreeLanguageEngineList, FreeList, FreeRequester, GetCmdStringFromCoord, GetControlAttr, GetCoordFromString, GetFolderPath, GetResourceString, GetUIStringFromCoord, OpenResource, PrependListString, SetControlAttr, SortList
Examples:
Additional example in ''RequesterExample.py''.
Python:
ARexx:
Applescript:
DoLanguageEngineLocalizeString Command Definition url:PGScmd/dolanguageenginelocalizestring
created:2006-05-04 17:26:18 last updated:2006-09-14 09:44:05
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For DoLanguageEngineLocalizeString | sign in to add a comment |
Tim Doty wrote... | 2007-05-26 16:22:12 |
The number at the end of the month/day of week is for specifying the maximum characters to use. Python: >>> print DoLanguageEngineLocalizeString(lelistH, "American", "January")['.result']
January >>> print DoLanguageEngineLocalizeString(lelistH, "American", "January4")['.result'] Jan >>> print DoLanguageEngineLocalizeString(lelistH, "American", "January3")['.result'] Jan >>> print DoLanguageEngineLocalizeString(lelistH, "American", "June")['.result'] June >>> print DoLanguageEngineLocalizeString(lelistH, "American", "June4")['.result'] June >>> print DoLanguageEngineLocalizeString(lelistH, "American", "June3")['.result'] Jun | |
User Contributed Comments For DoLanguageEngineLocalizeString | sign in to add a comment |
<< DoLanguageEngineFormatDate | DoRequester >> |
Top: Documentation Library | Up: D Commands |