Join Bill Weinman for an in-depth discussion in this video Localizing images, part of iOS 6: iOS System Resources.
Localizing images for an iOS app is almost as easy as localizing text.…It just requires a little more file management.…In this lesson, I'll be using the same…project that we've been using throughout this chapter.…I started it in our first movie and I've…been building on it in each of the subsequent movies.…So we'll be using it at the stage that it's at, at this point.…I'll open this up this is internationalization-working…and it's in my Chapter One folder here.…I'm going to open this up here in Xcode…by double-clicking on this xcodeproj file.…And if we take a look at our storyboard, we see we have this text…here and that of course in our…view controller, that's getting loaded with this text.…
This is a string that'll be localized into whatever language is being displayed.…I'd like to add a little image below this.…A little icon that represents the language that's being localized.…And so for this I'll need an…image that represents a number of different languages.…So over here in our chapter one folder, in the exercise…
- Preparing your app for internationalization
- Localizing strings and images
- Taking photos or video with the camera
- Reading records from the Address Book
- Registering a custom URL scheme
- Getting a device's location
- Reading raw motion data
- Posting to a specific social media outlet
- Sending messages with the Message UI framework
Skill Level Intermediate
Q: Why is my Localizable.strings file not working?
<div>A: The method described in the lesson "Localizing strings" requires that your strings file be named like this:</div> <div> </div> <div>Localizable.strings</div> <div> </div> <div>This is a special filename in iOS and it must be spelled exactly as shown, including the capitalization.</div>