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

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


References: 
 >available languages (From: Jérome Laurens <email@hidden>)

  • Prev by Date: Re: NSarraycontroller numberable IBOutlet pointers
  • Next by Date: Re: NSTextView misspelled words style underline
  • Previous by thread: available languages
  • Next by thread: Problem scrolling a clip view
  • Index(es):
    • Date
    • Thread