Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Marking Files for Localization

To mark files for localization, select the files, open the inspector, and click the Make File Localizable button. Xcode moves the files into the development region's .lproj folder. If a file was already in another .lproj folder, Xcode copies it to the development region’s .lproj folder.

Xcode creates a localized group in the Groups & Files list, with the file’s name and icon. To view the individual localization variants, click the disclosure triangle next to the localized group icon. The following figure shows the localized group for an application’s main nib file in the Groups & Files list.


Figure 19-2  A localized group in the Groups & Files list

Figure 19-2 A localized group in the Groups & Files list

You can inspect any of the localized variants individually or you can inspect the localized group as a whole.

To remove files from localization, select the files, open the inspector, and click the Remove All Localizations button. Xcode moves the files from the development region’s .lproj folder into the folder for nonlocalized resources. Other localized versions of the files are removed from the project but are not deleted from the disk.



< Previous PageNext Page > Hide TOC


Last updated: 2006-11-07




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice