languages() not working as expected ?
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 • ... |
_______________________________________________
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