Re: Localising a Help File
Re: Localising a Help File
- Subject: Re: Localising a Help File
- From: "Marc Wan" <email@hidden>
- Date: Mon, 6 Nov 2006 11:32:35 +0800
whoops!
i just read Bernard's post more carefully, and
the trick does, indeed, appear to be that creating the
InfoPlist.strings file is necessary. Once I did that and set up the
CFBundleHelpBookName, it worked perfectly.
Thanks so much for the help. I -never- would have figured that out ....
thanks,
marc.On 11/6/06,
Marc Wan <email@hidden> wrote:
Hey Bernard!
The Entries in my Info.plist file (which is the same for all languages) are:
<key>CFBundleHelpBookFolder</key>
<string>My App Help</string>
<key>CFBundleHelpBookName</key>
<string>MyAppHelp</string>
So, I just left the entry in the italian/index.html as:
<meta name="AppleTitle" content="MyAppHelp"/>
hrrrmmmm......
I'll keep playing.
thanks,
marc.
On 11/6/06, Bernard Desgraupes
<email@hidden
> wrote:
Hi Marc,
does your (italian) index.html file have the AppleTitle meta tag, like
for instance
<META NAME="AppleTitle" CONTENT="Aiuto MyApp">
or whatever, and does the CONTENT correspond to what's declared in your
localized Info plist file (named InfoPlist.strings inside
Italian.lproj) ?
In the sample above, you should have:
CFBundleHelpBookName = "Aiuto MyApp";
Just a guess.
Bernard
Hello!
I'm trying to add localised help to my (Cocoa) application. I've
created,
under the English.lproj directory a "My Help" folder and put an
index.htmlfile in it. I imported this into the project, and told
Xcode to keep the
directories, etc. They correctly get copied to
build/Debug/MyApp.app/Contents/Resources/English.lproj/My Help
and when i click on the Help/My App Help menu, everything works.
The problem is when I try to create localisations:
I right click on the Resources/My Help folder, click "Get Info", and
click
"Add Localisation". It correctly adds "My Help" and " index.html" to
the
(say) Italian.lproj directory and copies these to the proper build
locations
when I rebuild the project.
However, when I change the system Locale (just by going to the System
Preferences/International and changing the language) to Italian and
click on
Help, the help browser comes up blank without any content in it. The
file
in the Italian.lproj/My Help directory has the right contents, etc.
All the
other localised parts of my application show correctly.
Any idea what step I am missing here?
thanks,
marc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden