gpt4 book ai didi

ios - 使用 Base.lproj 的本地化 Storyboard

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:56:46 42 4
gpt4 key购买 nike

在使用 iOS 6 和新的本地化版本时,更新本地化 Storyboard的 .strings 文件的最佳方式是什么?当我切换到新的 Base.lproj 机制时,我的项目很好地创建了字符串文件,但它不会即时更新 .strings 文件。

谢谢!
–f

最佳答案

来自 Apple 的“国际化和本地化指南”,在这一切的底部:

在您的项目类型的 Base.lproj 目录中

ibtool MainStoryboard.storyboard --generate-strings-file NewStuff.strings

然后从 NewStuff.strings 合并到您的 Storyboard.strings 文件并翻译。

编辑链接: https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/MaintaingYourOwnStringsFiles/MaintaingYourOwnStringsFiles.html#//apple_ref/doc/uid/10000171i-CH19-SW22

关于ios - 使用 Base.lproj 的本地化 Storyboard,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12744190/

42 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com