Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f9d20baf2d42bbb9f9c5746dba0abad5 > files > 45

python-translate-doc-1.10.0-3.mga4.noarch.rpm


.. _po2wordfast:

po2wordfast
***********

Convert Gettext PO files to a :doc:`/formats/wordfast` translation memory file.

`Wordfast <https://en.wikipedia.org/wiki/Wordfast>`_ is a popular Windows based
computer-assisted translation tool.

.. _po2wordfast#usage:

Usage
=====

::

  po2wordfast [options] --language <target> <po> <wordfast>

Where:

+-------------+-------------------------------------+
| <po>        | a PO file or directory              |
+-------------+-------------------------------------+
| <wordfast>  | a Wordfast translation memory file  |
+-------------+-------------------------------------+

Options:

--version            show program's version number and exit
-h, --help           show this help message and exit
--manpage            output a manpage based on the help
--progress=PROGRESS    show progress as: :doc:`dots, none, bar, names, verbose <option_progress>`
--errorlevel=ERRORLEVEL
                      show errorlevel as: :doc:`none, message, exception,
                      traceback <option_errorlevel>`
-iINPUT, --input=INPUT   read from INPUT in po, pot formats
-xEXCLUDE, --exclude=EXCLUDE  exclude names matching EXCLUDE from input paths
-oOUTPUT, --output=OUTPUT     write to OUTPUT in tmx format
--psyco=MODE          use psyco to speed up the operation, modes: :doc:`none,
                      full, profile <option_psyco>`
-lLANG, --language=LANG  set target language code (e.g. af-ZA) [required]
--source-language=LANG   set source language code (default: en)

.. _po2wordfast#examples:

Examples
========

::

  po2wordfast -l xh-ZA browser.po browser.txt

Use the Xhosa (*xh-ZA*) translations in the PO file *browser.po* to create a
Wordfast translation memory file called *browser.txt*