Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing the app language



Hey everyone,

In the preferences pane of my application, I'm trying to setup a language
option. The application uses NSLocalizedString() throughout - which of
course grabs the localized string for the most preferred language that my
application supports. Is there a way to have NSLocalizedString() or a
similar function read a string for a specific language regardless of the
preferred languages in the user preferences, such that when a user of my
application takes the language setting off "Default" and sets it on a
specific language - I can grab the localized strings for that language.

I realize I could locate the strings file for a particular language and
parse it myself, but if theres a way to get the system to do it, that would
be better :)

Thanks!
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.