• 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
Getting the System languages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the System languages


  • Subject: Getting the System languages
  • From: Jesus De Meyer <email@hidden>
  • Date: Sun, 17 Aug 2003 15:35:49 +0200

I tried this in my code but it returns (null). I need to get the chose
language from the system, so if anyone can help, I'd appreciate it alot.

NSDictionary *globalDefaults = [[NSUserDefaults standardUserDefaults]
persistentDomainForName:@"NSGlobalDomain"];

NSLog(@"Languages are: %@", [[globalDefaults
objectForKey:@"AppleLanguages"] description]);
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting the System languages
      • From: MacInsight <email@hidden>
  • Prev by Date: Re: Panter WebKit.framework on 10.2
  • Next by Date: Folder Icon
  • Previous by thread: Strange deadlock using NSTextView
  • Next by thread: Re: Getting the System languages
  • Index(es):
    • Date
    • Thread