• 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: Localizing a helper app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localizing a helper app


  • Subject: Re: Localizing a helper app
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 28 Sep 2004 13:28:50 -0700


On Sep 28, 2004, at 1:20 PM, email@hidden wrote:

I have a command-line helper application which is run from my main Cocoa application.  The helper app, as well as the main one, must be localized.  I put the helper app resource files in with the main app resource files.  In the helper, I create a bundle using NSBundle bundleWithPath: and give it the main app bundle directory.  The helper uses localizedStringForKey:value:table: to retrieve strings.  This almost works, except that the helper's bundle doesn't seem to know about the system language preference.  Even when I set another language as my preference, the helper's bundle retrieves strings from the English resources.  It's been suggested that this may be because my helper's bundle isn't hooked in to the window manager.
Where is your helper executable itself located?  Try putting it in the same directory as your main app executable.

Douglas Davidson


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


  • Follow-Ups:
    • Re: Localizing a helper app
      • From: email@hidden
References: 
 >Localizing a helper app (From: email@hidden)

  • Prev by Date: NSXMLParser and CDATA sections
  • Next by Date: Re: NSTableView selectedRow
  • Previous by thread: Localizing a helper app
  • Next by thread: Re: Localizing a helper app
  • Index(es):
    • Date
    • Thread