Add support for read only state in exporters #4902
Labels
backlog
This is not on the Weblate roadmap for now. Can be prioritized by sponsorship.
enhancement
Adding or requesting a new feature.
Describe the bug
When a string.xml for Android is uploaded to weblate, it considers the "translatable" attribute of the node and it makes the unit "read-only" which is OK.
The problem comes when downloading the file that doesn't contain the "translatable" attribute anymore which leads to being translatable again if the downloaded file is uploaded again.
To Reproduce the bug
Description should look similar to this:
Steps to reproduce the behavior:
the content will look like
Expected behavior
Keep the read-only attribute after download it from weblate like:
The text was updated successfully, but these errors were encountered: