• 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
languages() not working as expected ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

languages() not working as expected ?


  • Subject: languages() not working as expected ?
  • From: Yann Bizeul <email@hidden>
  • Date: Mon, 21 Aug 2006 00:34:00 +0200

Hi there,

Another WONewbie() question.
When I read the WOSession documentation, I see this :

Returns an NSArray of languages for which the session is localized. The order of language strings returned indicates the preferred order of languages. This is initialized from the user's browser preferences unless explicitly set with setLanguages.

Which is apparently not working as expected. I get null as a result, and I saw weird techniques I did not understand in the archives to get browser language.

Is this a bug in the documentation, or in WO ?

What is the best way to get current user's localization preferences ?

Thanks

Yann Bizeul • yann at tynsoe.org
Cocoa Developer

Tynsoe Projects
BuddyPop • GeekTool • SSH Tunnel Manager • ...
http://projects.tynsoe.org/


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Missing com.apple.client.directtoweb
  • Next by Date: Re: Missing com.apple.client.directtoweb
  • Previous by thread: Re: Thoughts on WOFoundation
  • Next by thread: Sessions not terminating
  • Index(es):
    • Date
    • Thread