Is there a way to change this note by developers in Xcode?
I knew I’d seen this before somewhere but it took me a while to find it. There was a thread about this on the old DevForums.
That pointed to a bug (r. 20170304) which pointed to another bug (r. 18023555) which indicates that this is fixed in Xcode 7. And lo!, it is. The Notes field from the Document slice of the Identity inspector ends up in the
<note>element within the XLIFF. For example:
<trans-unit id="KZR-8E-61i.title"> <source>Varnish</source> <note>Class = "NSButtonCell"; title = "Varnish"; ObjectID = "KZR-8E-61i"; Note = "This button varnishes the selected waffle.";</note> </trans-unit>
IMPORTANT If you’re working on OS X, make sure you set the note on the cell (NSButtonCell, NSTextFieldCell, and so on) rather than on the object itself. It’s the cell that gets exported to the XLIFF, so if you put the note on the object it doesn’t appear in the XLIFF.
iOS doesn’t have (the madness that is ;-) NSCell, so this isn’t a problem there.
Anyone else have clients freaking out over the (perceived) complexity?
Alas, this doesn’t help with that aspect of the issue.
Share and Enjoy
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
Fantastic, thank you!
I love a good reason to make us use the latest version of Xcode. Our (iOS) app will be delivered after Xcode 7 (final version) ships, so this is a good excuse to upgrade.