WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.63k stars 1.02k forks source link

Customize translation file download #5132

Open funktionierbar opened 3 years ago

funktionierbar commented 3 years ago

Is your feature request related to a problem? If so, please describe. My self-hosted weblate instance is used to translate informational materials and texts rather than code. When a translation is finished, my users download the finished translations mostly as csv or Excel Open XML. These files always contain the columns:

location | source | target | id | fuzzy | context | translator_comments | developer_comments |  

and the strings are in a random order, or an order I dont understand and have to be sorted to have the correct text for further use. So for the users it is kind of a hustle to extract the translated text in correct order to use it as needed.

Describe the solution you'd like I would like to be able to customize the translation file download, set the order to match the uploaded base file and to select only the columns that are needed.

tomkolp commented 3 years ago

I have the same problem. I have to use additional scripts to sort and delete columns. Additionally, it would be useful to be able to download all files from the components list (via the browser). I download 350 translations this way and sometimes the server crashes.

nijel commented 3 years ago
github-actions[bot] commented 3 years ago

This issue has been put aside. It is currently unclear if it will ever be implemented as it seems to cover too narrow of a use case or doesn't seem to fit into Weblate. Please try to clarify the use case or consider proposing something more generic to make it useful to more users.

tomkolp commented 3 years ago
  • You can already download all files in a zip file for component, project or component list. If that crashes, try to debug it and report an issue in case it is a bug in Weblate.
  • The ordering of strings should be fixed by f5e746c.
  • Customization of the columns is currently not possible, and I'm not sure it is a good idea to have it.

I can download the original files. Will it be possible to introduce download to CSV, MO, PO, TBX, TMX etc. For whole component lists?

nijel commented 3 years ago

Feel free to open a separate issue for that. Right now it's not on the roadmap.

PS: It's usually not a good thing to hijack existing issues for different features...