Mailing Lists: Apple Mailing Lists

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

Re: Localized help book opening with blank page



Hi,

previously, I did not have this localized and a folder "MyProduct Help" in each .lproj-folder:

	MyProduct.app/Resources/German.lproj/MyProduct Help/
	MyProduct.app/Resources/English.lproj/MyProduct Help/

now I have the localized InfoPlist.strings and

	MyProduct.app/Resources/German.lproj/MyProduct Hilfe/
	MyProduct.app/Resources/English.lproj/MyProduct Help/

I guess it could also be

	MyProduct.app/Resources/German.lproj/MyProduct German/
	MyProduct.app/Resources/English.lproj/MyProduct English/

as long as it's different.

I don't think, that the help book *name* contributes to the solution. I just put it there for completeness. It is shown, though: have a look at the menu of the help book viewer, where you can choose all the helpbooks on the system.

Best regards,
Felix

Am 01.03.2005 um 18:41 schrieb Laurence Harris:

On 3/1/05 12:30 PM, Felix Schwarz didst favor us with:

Hi,

I stumbled over the same problem today and found the solution (works
reproducably on two Macs ;). It seems a bug (or a subtle feature?!) in
help viewer. It's not the folder name of the localized resources that
matters, it's the name of the help folder itself.

At first I only got a blank page, then tried exchanging "German" with
"de" etc., but didn't get it to work. What helps, though:

Localized versions of InfoPlist.strings:

German:
CFBundleHelpBookFolder = "MyProduct Hilfe";
CFBundleHelpBookName = "MyProduct Hilfe";

English:
CFBundleHelpBookFolder = "MyProduct Help";
CFBundleHelpBookName = "MyProduct Help";

and then name the helpbook folders accordingly. Thought I'd share this
with you ;-)

I'm curious. Since the user never sees either the help folder in the Finder
or its name in Help Viewer, we have never given them localized names.
However, I did see this problem once with one of our localizations. Are you
saying that your help folder names didn't match your CFBundleHelpBookxxx
values or that you changed both folder names and CFBundleHelpBookxxx values
and that got it to work?


Larry

Best regards, Felix

Hi,

I ran into a weird problem. I have a localized app with Help books in
various languages, each in a folder called "help" in their own .lproj
folder. In all cases the structure of the help and the help folder
name is the same. In the InfoPlist.strings files the right name for
the localize help is defined. Everything works fine for all helps
except for the Italian one. It stopped working and I cannot get it to
open up with anything but a blank page (blank content and no title),
irrespective of whether I choose Help in my apps Help menu, or use
AHGotoPage to jump to a specific help file. I do call
AHRegisterHelpBook to make sure the help book for the current language
gets registered. The Italian help book won't appear in the help
library. Both AHRegisterHelpBook and AHGotoPage return noErr. What on
earth may be going wrong here? I tested on 10.3.5 and 10.3.8. Is this
a known Mac OS X bug? Any "help" appreciated :-)


Cheers,

david.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Localized help book opening with blank page (From: Laurence Harris <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.