dia2xliff is a lightweight open-source Python command-line tool for translating diagrams created with the Dia diagram editor. It extracts translatable text from uncompressed .dia files and exports it to XLIFF 2.2 for translation in compatible CAT tools. After translation, dia2xliff imports the translated segments back into the Dia file and restores them to their original text elements. It preserves multiline text and XML special characters, automatically creates a backup of the original Dia file during export, supports source and target language codes from the command line, and requires no external Python dependencies. dia2xliff requires Python 3.8 or later and Dia files saved in uncompressed XML format. It is released under the MIT License and is intended for translators, localization professionals, and technical authors who need to include Dia diagrams in CAT-based translation workflows.

Features

  • Export text from Dia .dia files to XLIFF 2.2
  • Import translated XLIFF content back into Dia diagrams
  • Preserve multiline text and XML special characters
  • Reliably map translations to original text elements
  • Automatically back up the original Dia file during export
  • Support source and target language codes from the command line
  • No external Python dependencies

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow dia2xliff

dia2xliff Web Site

Other Useful Business Software
One Monitoring Tool for IT, OT and Cloud | Free Trial Icon
One Monitoring Tool for IT, OT and Cloud | Free Trial

Vendor-agnostic monitoring across on-prem servers, cloud platforms and OT devices, all in one dashboard. No more tool sprawl.

Modern infrastructure spans data centers, cloud platforms and factory floors, and every blind spot between them is a risk. PRTG supports SNMP, WMI, SSH and other standard protocols to monitor IT, OT and hybrid environments through one customizable dashboard. Build the views your team needs, from network health to application performance, without switching tools. Try PRTG free for 30 days now.
Try PRTG Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of dia2xliff!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Languages

English

Intended Audience

Advanced End Users, End Users/Desktop, Information Technology, Other Audience

User Interface

Command-line, Console/Terminal

Programming Language

Python

Related Categories

Python Localization (L10N) Software, Python Internationalization (I18N) Software, Python Computer Aided Translation (CAT) Software

Registered

10 hours ago