Difference between revisions of "Translating a TMX"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
It might be useful to use apertium to translate one side of a TMX file. This is quite easy with apertium-tmx-tools.
+
It might be useful to use Apertium to translate one side of a TMX file. Note: this is different from [[Translation memory|using a translation memory to aid Apertium in translating]].
  +
  +
Although TMX is not a built-in format, translating a TMX file is quite easy with apertium-tmx-tools.
   
 
Assuming you have apertium and your language pair installed, this is how you do it:
 
Assuming you have apertium and your language pair installed, this is how you do it:

Revision as of 12:53, 6 March 2012

It might be useful to use Apertium to translate one side of a TMX file. Note: this is different from using a translation memory to aid Apertium in translating.

Although TMX is not a built-in format, translating a TMX file is quite easy with apertium-tmx-tools.

Assuming you have apertium and your language pair installed, this is how you do it:

svn co https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-tools/apertium-tmx-tools
cd apertium-tmx-tools

./apertium-ftmx es ca <en-es.tmx >en-ca.tmx

# Optionally add a mode:
./apertium-ftmx es ca es-ca_valencia <en-es.tmx >en-ca_valencia.tmx


See also