Search Issue Tracker

Fixed

Votes

1

Found in [Package]

1.0.0-pre.9

Issue ID

LOC-193

Regression

No

[Localization] exported XLIFF files are missing xml:space="preserve" element

Package: Localization Package

-

How to reproduce:
1. Open the attached "case_1342014.zip" project
2. Select Window/Asset Management/Localization Tables and open its context menu (by selecting three dots)
3. Select Export/XLIFF
4. Open the exported .xlf file in the text editor and observe the inside of <trans-unit>

Expected result: it has xml:space="preserve" element to properly indicate that the string is containing non escaped "\n"
Actual result: it does not have xml:space="preserve" element

Reproducible with: 0.9.0-preview - 1.0.0-pre.9 (2019.4.28f1, 2020.3.13f1, 2021.1.14f1, 2021.2.0b2, 2022.1.0a1)
Could not test with: 2018.4 (could not downgrade)

Note: Reproducible with 1.2 and 2.0 XLIFF versions

Add comment

Log in to post comment