Localizing Nib with NSTouchBar in it, No Strings Generated.

I have a nib with a touch bar that has some items. I want to localize the labels on some buttons, the label on the popover item ect.


After checking a language to localize in, Xcode generates a NibName.strings file as usual, but it's empty. Normally we get a list of strings like this to easily replace with a translation:


/ Class = "NSToolbarItem"; toolTip = "Tool Tip"; ObjectID = "8uD-EL-RvY"; */
"8uD-EL-RvY.toolTip" = "Tool Tip";


How'd I go about handling this? I don't feel like rewriting the touch bar in code.

Tried just typing the object id in the strings file manually:


"objectId.customizationLabel" = "translation";


Which is a pain, but it doesn't work (atleast not in the simulator).

Filed a bug.


30253162

Localizing Nib with NSTouchBar in it, No Strings Generated.
 
 
Q