Re: available languages
Re: available languages
- Subject: Re: available languages
- From: Douglas Davidson <email@hidden>
- Date: Mon, 21 May 2007 10:35:39 -0700
On May 21, 2007, at 5:12 AM, Jérome Laurens wrote:
Is there a mean to have a list o all the available languages in
NSSpellChecker?
One solution would be to scan the standard locations or apps and
services and read their info.plist for a NSLanguages entry
But this is not exactly the list of all the languages registered by
spell servers through the
- (BOOL)registerLanguage:(NSString *)language byVendor:(NSString *)
vendor
method.
Another mean would be to get the pull down list of the spell
checker panel and read its contents.
But this would give localized names only, not the real ones!
I don't have a good recommendation for Tiger and before, but the
matter has been taken care of for Leopard. Note that a spellchecker
must advertise a language in its Info.plist in order for the
spellchecker to recognize it. If you need to mine the popup, you
should look not at the titles but at the represented objects.
Douglas Davidson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden