You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting in XLIFF, the source HTML tags are stripped out. This causes issues when exporting to an XLIFF file and then reimporting into Weblate. Weblate will skip because the source doesn't match.
To Reproduce the issue
Steps to reproduce the behaviour:
Create a translated key and add HTML in the content
Export it to XLIFF
The source content doesn't have HTML tags.
Change the target tag content
Reimport the file
Weblate will say it didn't find the string.
Processed 1 string from the uploaded files (skipped: 0, not found: 1, updated: 0).
Expected behaviour
The exported source tag should contain the original HTML so it can be imported again or there should be an option to rely only on the translation ID for comparison when importing.
Screenshots
Exported language. See the translated tag has the HTML tags but the source does not.
<trans-unit xml:space="preserve" approved="yes" id="a_new_version_is_available_message" weblate-flags="angularjs-format, safe-html, strict-same">
<source>A new version of our application was just released. Your browser will automatically refresh {{appWillReloadAtTime}} or click here to refresh now.</source>
<target state="translated">A new version of our application was just released. Your browser will automatically refresh {{appWillReloadAtTime}} or <a ef-i18n-click="reloadApplication">click here to refresh now</a>.</target>
<note from="developer">NetworkUI / AffiliateUI / AdvertiserUI</note>
</trans-unit>
The text was updated successfully, but these errors were encountered:
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!
Describe the issue
When exporting in XLIFF, the source HTML tags are stripped out. This causes issues when exporting to an XLIFF file and then reimporting into Weblate. Weblate will skip because the source doesn't match.
To Reproduce the issue
Steps to reproduce the behaviour:
Expected behaviour
The exported source tag should contain the original HTML so it can be imported again or there should be an option to rely only on the translation ID for comparison when importing.
Screenshots
Exported language. See the translated tag has the HTML tags but the source does not.
The text was updated successfully, but these errors were encountered: