The MED format is a project package defined by the Directorate-General for Translation:
http://dragoman.org/med/
As the OmegaT project format and the MED format share similarities, some interoperability should be possible.
Although the current specifications are med-029, the development is based on the medo1 template, as it is currently more stable. Once MED specification become stable enough, it should be easy to adapt mapping. Until this is done, caution should be used in production, as the format may change.
In the Project menu, there are two new entries:
Open MED Project. It is only available if no project is open.
This loads the following elements from a MED (.zip) project into a new project:
<name>/dossier/workflow/translation{slang}<name>/dossier/workflow/translation{tlang}<name>/doc/main/<slang>/* are placed in /source<name>/doc/support/<slang>/tm/*.tmx are placed in /tm/auto. That way, if the package is produced by OmegaT, all translations would be retrieved.<name>/doc/support/<slang>/term/* are placed in /glossary, including if present the writeable glossary (glossary/glossary.txt).The MED package (<name.zip>) is stored in /omegat/med/<name.zip>.</name.zip>
Create MED Project. It is only available if an OmegaT project is open.
This stores the following elements in a MED (.zip) project:
<name>/dossier/workflow/translation{slang}<name>/dossier/workflow/translation{tlang}/source in <name>/doc/main/<slang>/*/target in <name>/doc/main/<tlang>/*<name>/doc/support/<slang>/tm/<name>-level2.tmxglossary/glossary.txt in <name>/doc/support/<slang>/term/glossary.txt/omegat/project_stats.txt in <name>/dossier/post/project_stats.txtIf the OmegaT project was originally created from a MED project, all stored information not modified by OmegaT should be copied “as is” to the new MED project.
The way the mapping is done, it is possible to achieve a minimal but usable roundtrip by creating a MED package and loading it in another instance of OmegaT with all translations and the writeable glossary preserved.
Didier
Implemented in SVN (/trunk).
Didier
Last edit: Didier Briel 2016-04-26
Implemented in the released version 4.0 of OmegaT.
Didier
Diff: