I have some labels on my xib. Some of them are not need to be localized. When i generate strings file via ibtool all labels content included in result file. How can i exclude some UI objects in IB from localization when generate strings?
Asked
Active
Viewed 512 times
1 Answers
2
Unfortunately there is no way to annotate the content of your nib/xib files so that ibtool's --export-strings-file
command ignores certain strings.
You could instead opt to use the --export-xliff
option and then edit the XLIFF file to lock segments that must not be translated (attribute translate="no"
) before sending them out to be localized in all your languages. That's probably only worth doing if the localizers use a XLIFF-compatible CAT tool though.

Clafou
- 15,250
- 7
- 58
- 89