Re: Localizing a helper app
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