For development projects, which need to present umbrello content in different languages or for machine generated translated screenshots in umbrello documentation it would be nice to have a way to translate xmi files. An implementation could use tools similar used by the KDE docbook internationalization support (xml2pot and po2xml) to: - extract language specific texts from xmi files and convert it into a pot file - apply translated po files to the untranslated xmi file to generate a translated xmi file The translation itself could be performed by common known translation tools like klocalize. Reproducible: Always
Git commit 5c8eceddd8026399753d19db4dcd45d3e3ff17d0 by Ralf Habacker. Committed on 29/04/2014 at 11:42. Pushed by habacker into branch 'master'. Add command line tools po2xmi and xmi2pot. - xmi2pot extracts all messages from a xmi file into a pot file format - po2xmi takes an untranslated xmi file and a translated po file to generate a localized xmi file M +2 -0 CMakeLists.txt A +19 -0 tools/CMakeLists.txt A +44 -0 tools/po2xmi.cpp [License: GPL (v2+)] A +289 -0 tools/shared.cpp [License: GPL (v2+)] A +44 -0 tools/shared.h [License: GPL (v2+)] A +83 -0 tools/xmi2pot.cpp [License: GPL (v2+)] http://commits.kde.org/umbrello/5c8eceddd8026399753d19db4dcd45d3e3ff17d0