weblate icon indicating copy to clipboard operation
weblate copied to clipboard

TBX file download does not include metadata

Open michael-smt opened this issue 5 months ago • 3 comments

Describe the issue

Metadata of the units are not present when all files are downloaded in a glossary component with TermBase eXchange format.

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

  1. Create a glossary component with TermBase file format
  2. Add a term
  3. Mark that term as terminology, it gets the terminology flag
  4. Mark that term as untranslateable, it gets the read-only flag
  5. Add a custom flag like max-length:50
  6. Go to "File" -> "Download translation files as ZIP file"

The TBX files do not have any metadata in them.

Expected behavior

The TBX files contain the metadata so a new component could be created from them with minimal metadata loss.

Screenshots

No response

Exception traceback


How do you run Weblate?

Docker container

Weblate version

2026.6.1.0

Weblate deploy checks


Additional context

No response

michael-smt avatar Jun 18 '26 12:06 michael-smt

I'd love to give this a try, any preference on how the flags should be represented in the TBX output?

jasperdingg avatar Aug 02 '26 05:08 jasperdingg

@jasperdingg Most of these (if not all) are properly stored on native TBX storage, so the exporter should follow that.

nijel avatar Aug 04 '26 12:08 nijel

Thank you for your report — the issue has now been resolved.

The fix has been merged into the repository and will be included in the upcoming Weblate 2026.10 release.

  • If you encounter any issues with the fix, please comment in this thread.
  • If you experience a similar but separate issue, open a new report so we can track it properly.
  • If you find Weblate helpful, consider supporting its development.

github-actions[bot] avatar Sep 15 '26 08:09 github-actions[bot]