WeblateOrg / WeblateOrg/weblate
Xliff roundtrip not working properly
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.4k
- Avg merge
- 9h 53m
- Merged PRs (30d)
- 395
Description
### Describe the issue
Exporting to xliff greater than, smaller than characters and quotation marks are not converted to entities. They need to be manually replaced into entities if when importing the file into a different CAT tool. The xliff needs to be prepared with the replacements.
Next the prepared xliff file is translated in the other CAT tool and exported. Then the translated xliff is imported back into Weblate.
The strings with entities are skipped. If the entities are converted back to text, the import fails. In the end strings containing inline tags need to be manually copy-pasted into the editor.
### I already tried
- [X] I've read and searched [the documentation](https://docs.weblate.org/).
- [X] I've searched for similar issues in this repository.
### Steps to reproduce the behavior
1. Go to '...'
2. Scroll down to '...'
3. Click on '...'
4. See error
### Expected behavior
Content with html tags in Weblate -> export to xliff -> translate with another CAT tool -> import xliff into Weblate
The xliff should import into other CAT tools without preparation. Every string should be imported back into Weblate.
### Screenshots
_No response_
### Exception traceback
_No response_
### How do you run Weblate?
weblate.org service
### Weblate versions
_No response_
### Weblate deploy checks
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.