This repo contains samples that demonstrate the localization workflow for users of the Multilingual Application Toolkit Visual Studio extension and editor. You can also use GitHub Issues to submit feedback, report bugs, or ask questions.
MIT License
24
stars
4
forks
source link
Controls that rely on serializing data to XML cause Resx to XLIFF conversion to fail #21
There seems to be an issue present as of the Multilingual App Toolkit v4.2.1: when a TableLayoutPanel is in a Localizable form, the LayoutSettings property is stored in the Resource file with an XML header inside it:
<?xml version="1.0" encoding="utf-16"?>
This causes the MAT to fail on build, with the error:
Convert file [file].resx to XLIFF format failed. Message:Unsupported processing instruction '?xml' found during encoding. Please remove unsupported processing instructions from the xml.
The offending line(s) can be removed from the Resource file, but future builds/project loads will cause the line to be automatically reinserted and trigger the error again.
There seems to be an issue present as of the Multilingual App Toolkit v4.2.1: when a TableLayoutPanel is in a Localizable form, the LayoutSettings property is stored in the Resource file with an XML header inside it:
This causes the MAT to fail on build, with the error:
The offending line(s) can be removed from the Resource file, but future builds/project loads will cause the line to be automatically reinserted and trigger the error again.
See also: