HelpBook页面未以其他语言显示

时间:2018-11-19 23:16:03

标签: xcode macos internationalization apple-help

我刚刚将我的应用程序的Help Book文档翻译成了意大利语。我还创建了一个测试用户帐户,其主要语言设置为意大利语,语言环境设置为意大利。

但是,当我从应用程序中打开“帮助”时,它会显示帮助书的英语版本;不是意大利的。当我双击Finder中的.help捆绑包时,同样的事情-即使Finder是意大利语的,帮助文件仍显示为英语。

我已在it.lproj目录旁边的en.lproj目录中添加了意大利语页面。

帮助包的Info.plist文件还显示存在意大利语本地化:

<key>CFBundleLocalizations</key> <array> <string>en</string> <string>it</string> </array>

这是帮助书的文件夹结构:

Contents/ Resources/ en.lproj/ index.html InfoPlist.strings BiggerPicture.helpindex it.lproj/ index.html InfoPlist.strings BiggerPicture.helpindex shrd/ styles.css

我还应该做什么?

0 个答案:

没有答案