Xcode 3.2.2和Settings.bundle的本地化 [英] Xcode 3.2.2 and localization of Settings.bundle

查看:140
本文介绍了Xcode 3.2.2和Settings.bundle的本地化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现在升级到最新的Xcode 3.2.2后,我无法再对Settings.bundle进行本地化。 Make File Localizable按钮始终显示为灰色,Settings.bundle文件显示为No Explicit File Encoding,而不是UTF-16。

I have just discovered that after upgrading to the latest Xcode 3.2.2, I am not able anymore to localize Settings.bundle. The "Make File Localizable button always appears grayed out, and the Settings.bundle files appear with "No Explicit File Encoding", instead of UTF-16.

这不会发生对于我的旧项目,即使对于新项目也是如此。
任何线索?本地化程序是否已更改?

This happens not just for my old projects, it happens even for new projects. Any clue? Is the localization procedure changed?

提前感谢您。

推荐答案

看起来很奇怪,可能需要报告 bugreport ?但这是可行的解决方法。

Looks very strange, maybe need to report to bugreport? But here is workaround that works.


  1. 显示 Settings.bundle 在Finder中。

  2. 右键单击(或按住Ctrl键单击)并选择显示包内容

  3. 复制 en.lproj 并重命名为所需语言(例如 fr.lproj )。

  1. Reveal your Settings.bundle in Finder.
  2. Right click (or Ctrl-click) on it and select Show Package contents.
  3. Copy en.lproj and rename to desired language (e.g., fr.lproj).

现在你可以回到Xcode并根据需要编辑本地化的 Root.strings 和文件。

Now you can go back to Xcode and edit localized Root.strings and files as you need.

这篇关于Xcode 3.2.2和Settings.bundle的本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆