Re: Accessing Localized File Menu String
Re: Accessing Localized File Menu String
- Subject: Re: Accessing Localized File Menu String
- From: Philip Aker <email@hidden>
- Date: Sat, 11 Jul 2009 04:09:07 -0700
On 2009-07-10, at 02:36:09, Yvan KOENIG wrote:
plutil -convert xml1 -o edit.plist /Applications/TextEdit.app/Contents/Resources/French.lproj/Edit.nib/keyedobjects.nib
offers some hope because the association is with an action and that can be used as a fixed element. The resulting plist format is not exactly what one would call regular, however I think it might be possible to work with.
I wrote a code using the brute force.
No wonder brute force was needed.
There seems to be an inexcusable bug. Namely that the plutil conversion results in an illegal XML file. Anyone should be able to verify the following in Terminal:
plutil -convert xml1 -o edit.plist /Applications/TextEdit.app/Contents/Resources/French.lproj/Edit.nib/keyedobjects.nib;xmllint --valid edit.plist
The following error is reported. My setup is 10.5.7/Intel, AppleLocale = "en_US_POSIX".
edit.plist:914: parser error : internal error <string>/string> ^ edit.plist:914: parser error : Extra content at the end of the document <string>/string>
|
_______________________________________________
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