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?
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?
If you're using
ibtool
to set up the strings for localization/translation, you cannot exclude words directly. Use the--export-XLIFF
option onibtool
to create an XLIFF file. You then edit the excluded strings in the XLIFF file by adding the attributetranslate="no"
. The edited XLIFF file then goes to the translators who (hopefully) can use it.