• 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: email@hidden
  • Date: Tue, 28 Sep 2004 16:18:27 -0600

That fixed the problem, thanks! Obviously just having the bundle path point there wasn't enough.

On Sep 28, 2004, at 2:28 PM, Douglas Davidson wrote:


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




Michael Heins
AA7XY

_______________________________________________
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


References: 
 >Localizing a helper app (From: email@hidden)
 >Re: Localizing a helper app (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Coredumps
  • Next by Date: Re: CFPropertyListCreateFromXMLData(): plist parse failed
  • Previous by thread: Re: Localizing a helper app
  • Next by thread: force entire window redraw?
  • Index(es):
    • Date
    • Thread