CSV version commit of translations is adding header info source, target
Describe the issue
When i read csv files from our project the csv files do not contain the header source, target. When i modify translations and commit them to our repository Weblate add's the header "source", "target" which is not the original state. I cannot disable this setting. I use file format "CSV File" which if i understand the documentation correctly should be headerless.
I already tried
- [X] I've read and searched the documentation.
- [X] I've searched for similar filed issues in this repository.
Steps to reproduce the behavior
- Start a project and read i18 files from a remote repository
- I modify a translation
- I create a new commit and push it to the remote repo
Expected behavior
CSV translation is altered in original i18n CSV format
Screenshots
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
Weblate 4.18.2
Weblate deploy checks
No response
Additional context
No response
CSV storage in the translate-toolkit (library Weblate uses for handling translation files) currently always includes the header even if it was not present in the original file.
The issue you've reported needs to be addressed in the translate-toolkit. Please file the issue there, and include links to any relevant specifications about the formats (if applicable).
This issue has been added to the backlog. It is not scheduled on the Weblate roadmap, but it eventually might be implemented.
In case you need this feature soon, please consider helping or push it by funding the development.