For the More Curious: Importing and Exporting as XLIFF

The industry-standard format for localization data is the XLIFF data type, which stands for XML Localisation Interchange File Format (and XML stands for Extensible Markup Language). When working with translators, you will often send them an XLIFF file containing the data in the application to localize, and they will give you back a localized XLIFF file for you to import.

Xcode natively supports importing and exporting localization data in XLIFF. The exporting process will take care of finding and exporting the localized strings within the project, which you previously did manually using the genstrings tool.

To export the localizable strings in XLIFF, select the project (WorldTrotter ...

Get iOS Programming: The Big Nerd Ranch Guide, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.