Xcode does not export strings from xibs for localization

I'm trying to follow Apple's localization guide with my project, but after I select Editor -> Export for Localization, the resulting .xliff file does not contain lines from the .xib files. It only has strings from Localizable.strings and from Info.plist.

+3


source to share


1 answer


I did it!

It turns out it was a project built in an older version of Xcode that doesn't support Base Internationalization. I had to



  • Click "Localize" on all xibs in the project
  • Then go to Project Settings and on the Info tab check the Use Basic Internationalization checkbox.

After that, the resulting .xliff file has all the .xib lines.

+7


source







All Articles