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

Re: localize framework


  • Subject: Re: localize framework
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 15 Jan 2007 13:29:40 -0700


On Jan 15, 2007, at 1:21 PM, Tore Halset wrote:

I am creating a framework and are trying to localize it. I use NSLocalizedString and have localized "Localizable.strings", but applications using the framework does not display the localized text. Strings localized in the application does work.

Anything special about localizing frameworks that I should know about?

NSLocalizedString() scans the main bundle, not the framework's bundle. To use localized strings located in a bundle (such as a framework), you need to use NSLocalizedStringFromTableInBundle() instead.


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

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: 
 >localize framework (From: Tore Halset <email@hidden>)

  • Prev by Date: Re: localize framework
  • Next by Date: Re: localize framework
  • Previous by thread: Re: localize framework
  • Next by thread: howto draw math forumulas
  • Index(es):
    • Date
    • Thread