It looks like localize-mainmenu doesn't consider the escaping of XML-reserved characters such as ampersands and quotations.
I exported an .xliff file from Xcode that contained this section:
<trans-unit id="Folders & Integration">
<source>Folders & Integration</source>
<target>Dossiers & Intégration</target>
<note>Tab label</note>
</trans-unit>
After running it through localize-mainmenu, I received this output:
It looks like localize-mainmenu doesn't consider the escaping of XML-reserved characters such as ampersands and quotations.
I exported an .xliff file from Xcode that contained this section:
After running it through localize-mainmenu, I received this output:
The ampersands in the id, source, and target need to be escaped to
&
in order to be importable into Xcode.