如何为 Mac OS X 创建具有本地化背景的漂亮 DMG?
我已阅读关于 如何使用命令行工具为 Mac OS X 创建 DMG,现在我想更进一步:我可以生成一个基于活动的 DMG 显示不同的背景图像吗?系统语言?
我知道有一些技巧可以根据活动区域设置显示不同的文件夹名称;但这可以扩展到不同的背景吗?如果我们的产品支持的每种语言都必须制作和分发一个 DMG,只是为了拥有不同的背景图像,那将是一件遗憾的事情。
这是我想使用的两张背景图片,英文版:
或法文版:
I have read the discussion on how to create a DMG for Mac OS X using command-line tools and now I would like to go further: can I possibly produce a DMG which displays a different background image, based on the active language of the system?
I know there are tricks to display different folder names based on the active locale; but can this be extended to different backgrounds? It would be a pity to have to produce and distribute one DMG for every language our product supports, just to have a different background image.
Here are two background images I would like to use, in English:
or in French:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议使用 DropDMG 进行应用程序分发:
http://c-command.com/dropdmg/
不要重新发明轮子:)
I recommend using DropDMG for app distribution:
http://c-command.com/dropdmg/
Don't reinvent the wheel :)
我不知道情况有没有改变,但我确实知道,在几年前,创建一个本土化的DMG是非常困难的;我认为这意味着必须为每种支持的语言生成 DMG(对于高度本地化的项目来说显然很麻烦)。我参与的一些开源项目也有同样的担忧。我认为普遍的共识是设计一个背景来展示如何以图形方式复制应用程序,而不是使用文字。 Adium 和 Firefox 等大型开源 Mac 项目就采用了这种方法。
I don't know if the situation has changed, but I do know that as of a few years ago it, it was exceedingly difficult to create a localized DMG; I think it meant having to produce a DMG for each supported language (obviously cumbersome for highly-localized projects). I worked on a few open-source projects that had this same concern. I think the general consensus was to design a background that showed how to copy the application graphically, rather than using words. This is the approach taken by big open-source Mac projects like Adium and Firefox.