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