Xcode 3.2.2 and localization of Settings.bundle

ε祈祈猫儿з 提交于 2019-12-04 03:40:55

问题


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?

Thank you in advance.


回答1:


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

  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).

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



来源:https://stackoverflow.com/questions/2661619/xcode-3-2-2-and-localization-of-settings-bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!