Class TMXWriter

java.lang.Object
org.omegat.util.TMXWriter

@Deprecated(forRemoval=true, since="5.8") public final class TMXWriter extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Class that store TMX (Translation Memory Exchange) files.
  • Method Details

    • buildTMXFile

      public static void buildTMXFile(String filename, boolean forceValidTMX, boolean levelTwo, ProjectProperties config, Map<String,PrepareTMXEntry> data) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Saves a TMX file to disk
      Parameters:
      filename - The name of the file to create
      forceValidTMX - When true, OmegaT-tags are stripped from the segments.
      levelTwo - When true, the tmx is made compatible with level 2 (TMX version 1.4)
      config - Project configuration, to get the languages
      data - Data for save to TMX, a map of {source segments, translation}
      Throws:
      IOException