ios - 为什么 Apple 使用不同的文件夹结构来进行 bundle 和字符串本地化?

标签 ios internationalization bundle application-settings localizable.strings

我正在本地化我的应用程序,我发现 Apple 对 bundle 或字符串使用不同的文件夹结构。

谁能告诉我为什么 Apple 不使用相同的文件夹结构以便于使用?

alt text

最佳答案

本地化的文件夹结构与设置包和应用中的其他所有内容相同。

它看起来不同的原因是因为应用程序的设置部分被放在一个叫做“包”的东西中。

右键单击(或控制单击)Finder 中的 Settings.bundle:

alt text

您会看到一个名为“显示包内容”的菜单选项。

alt text

您应该会在其中看到本地化文件夹。

alt text

有关 packages and bundles see the Apple Developer Documentation 的更多信息.

关于ios - 为什么 Apple 使用不同的文件夹结构来进行 bundle 和字符串本地化?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4581125/

相关文章:

symfony2 包自动加载失败

ios - 为 UIRefreshControl 提供顶部插图

namespaces - i18next 将默认翻译命名空间附加到我的命名空间

javascript - i18next 不在后端加载文件

ruby-on-rails - bundle 安装错误 "invalid byte sequence in US-ASCII (ArgumentError)"

android - 从包中获取字符串 android 返回 null

ios - swift : How to make UILabel inherit font size from another UIlabel?

ios - 如何在 iOS 应用程序 Swift 中更新 Pod

xcode - IOs项目mainWindow.xib和main方法的关系?

javascript - 使用 Meteor.js 访问 JS 内部的 i18n 包数据