Creating Localizable App Builds (OS X)
Certain app localizers (inc. Applingua) allow you to send entire app builds in order to see the inner workings of an app and to make sure all text, images and supporting html files are discovered and translated. In the case of OS X apps, it also allows localizers to translate and test on the fly.
Creating a build with unflattened XIBs
By default, compiled OS X and iOS applications ship with compressed, or “flattened”, NIB files. Simply edit the build settings within Xcode to change this.
- Open your Xcode project and select your target
- Choose the Build Settings tab
- Search for “flatten”
- Change key ‘Flatten Compiled XIB Files’ to No
This also works for the NIBs within an iOS application bundle. Unfortunately the more important Localizable.strings file is compressed on build so it is not possible for a localizer to extract all the necessary text this way. The best thing is to send the raw XIBs and .strings files from your Xcode project manually and send a build of the app to the localizer for testing.
If a localizer translates a NIB file, then these NIBs have to be imported into your Xcode project. Since Xcode 3 the default format has been XIB. Although this will have no effect on the operation of your app, some developers might not like to have two different interface builder formats within their project.
In these cases, you will need to send the raw XIBs from your Xcode project, then build the app for yourself in order for the translator to test their localization.
We’d really appreciate it if you could rate this post to let us know how useful you found it! :) Thanks!