3

I'm localizing an app for the first time, and only need to localize my "Localizable.strings" file. To set that up I created the file, then selected it and pressed the "Make localized..." button and it let me add an English localization (I haven't added any other languages yet).

To my surprise, with Xcode 4.4, doing that also automatically localized these files, moving them into the "en.lproj" folder:

  • InfoPlist.strings
  • MainStoryboard.storyboard

I don't need or want to localize the storyboard file, as there's nothing in it that's language based... and as far as I know, I don't need to localize InfoPlist.strings either (unless I decide to localize the app name?).

So, how do I unlocalize a file?

I see there's an option for "Use base internationalization" which from my understanding would use a base main storyboard rather than localizing it. That sounds like what I need, but according to the Xcode 4.4 release notes that won't work on iOS projects:

The Use Base Internationalization setting in the project editor works only on Mac products for deployment on OS X v.10.8 and later. Xcode must also be running on OS X v.10.8 or later. This setting is not supported on iOS projects. 11712855

https://developer.apple.com/library/mac/#releasenotes/DeveloperTools/RN-Xcode/_index.html

Thanks for any help.

4

1 回答 1

1

如果您选择一个文件并查看该文件的信息。在“常规”点击下,有一个本地化部分,带有 +/- 用于各种语言。只需从那里删除所有语言,它将不再被本地化。

于 2012-08-09T15:26:47.540 回答