Reputation: 39283
I use dummy text in Interface Builder. Here is an example.
The MYNAME
is not really interface text, and it is set programmatically in viewDidLoad
. Can I mark this a special way so that it is excluded from my translations files by default?
Upvotes: 5
Views: 526
Reputation: 979
If you're using ibtool
to set up the strings for localization/translation, you cannot exclude words directly. Use the --export-XLIFF
option on ibtool
to create an XLIFF file. You then edit the excluded strings in the XLIFF file by adding the attribute translate="no"
. The edited XLIFF file then goes to the translators who (hopefully) can use it.
Upvotes: 1