How karprog12/sdlxliff_python_converter works
The repository is a desktop SDLXLIFF translation-workflow tool, with a separate lightweight source-text extractor described in the README and a small interactive XML search utility. The primary workflow selects SDLXLIFF, exports editable segment data (optionally checking terminology), and imports translations back; JSON/TXT conversion is an additional workflow. Edges reflect only calls visible in the GUI excerpt or documented README behavior; converter internals are only partially sampled.
Main entry points: transmAIte.py Workflow GUI · converter.py Segment export · README.md Source text extractor · xliff_dev_search_minitool.py XML structure search
Components 12
Desktop interface
- Workflow GUI
transmAIte.py
Translation exchange
- Segment export
converter.py - Termbase matching
converter.py - Translation import
converter.py - JSON / TXT exchange
converter.py
XML utilities
- Source text extractor
README.md - XML structure search
xliff_dev_search_minitool.py
Other components
- Translator
- SDLXLIFF file
- JSON export
- TXT files
- XLIFF / XML file
Connections 15
- Translator → Workflow GUI: selects workflow
transmAIte.py - Workflow GUI → Segment export: calls export
transmAIte.py - Workflow GUI → Termbase matching: loads termbase
transmAIte.py - Segment export → JSON export: writes JSON
converter.py - SDLXLIFF file → Segment export: provides segments
converter.py - Workflow GUI → Translation import: calls import
transmAIte.py - JSON export → Translation import: provides translations
converter.py - Translation import → SDLXLIFF file: writes translations
converter.py - Workflow GUI → JSON / TXT exchange: calls conversions
transmAIte.py - JSON export → JSON / TXT exchange: exchanges content
- JSON / TXT exchange → TXT files: reads and writes
converter.py - Translator → Source text extractor: selects files
README.md - Source text extractor → XLIFF / XML file: extracts source text
README.md - Translator → XML structure search: enters query
xliff_dev_search_minitool.py - XML structure search → XLIFF / XML file: searches XML
xliff_dev_search_minitool.py