XliffParser
XliffParser copied to clipboard
Support for whitespace in resx
If a resx file has an entry like below:
<data name="WhitespaceCharacter" xml:space="preserve">
<value> </value>
</data>
Output xlf file will have the following:
<trans-unit id="WhitespaceCharacter">
<source> </source>
<target state="new"></target>
<note></note>
</trans-unit>
Expectation: output xlf file should preserve the space and have <target state="new"> </target>
The tool (version 0.1.2) is run with following command line:
xlftool update -resx resource.resx -xlf resource.cs.xlf -verbose
Sounds reasonable - I'll look into it.