Warning: Cannot modify header information - headers already sent by (output started at /home/www/dynamic/pluto.ro/traduceri.pluto.ro/public_html/index.php:2) in /home/www/dynamic/pluto.ro/traduceri.pluto.ro/public_html/wordpress/wp-includes/feed-rss2.php on line 8 Tikal – Traduceri http://traduceri.pluto.ro Translations - Übersetzungen Sat, 23 Mar 2024 06:08:09 +0000 en-US hourly 1 https://wordpress.org/?v=5.1.18 Convert Trados sdlxliff file to tmx with Tikal http://traduceri.pluto.ro/2018/01/convert-trados-sdlxliff-file-to-tmx-with-tikal/ Fri, 12 Jan 2018 06:40:44 +0000 http://traduceri.pluto.ro/?p=483 Continue reading "Convert Trados sdlxliff file to tmx with Tikal"]]> tikal -2tmx -fc okf_xliff-sdl “file.sdlxliff” -sl de-DE -tl ro-RO

Or convert all files in the directory:

tikal -2tmx -fc okf_xliff-sdl *.sdlxliff -sl de-DE -tl ro-RO

At least version M35 is needed.
From the Tikal WIKI:
Convert to TMX Format

Creates a TMX document for the give input file. If the input file is multilingual (like a PO or a TS file), the source and target will be in the TMX document.

The syntax of this command is:

-2tmx [options] inputFile [inputFile2…]

Where the options are:
-fc configId The identifier of the filter configuration to use for the input files.
-ie encoding The encoding name of the input files. this is used only if the filter cannot detect the encoding from the input file itself.
-sl srcLang The code of the source language of the input files. See more details…
-tl trgLang The code of the target language. See more details…
-trgsource|
-trgempty Forces the content of the output target field to be either a copy of the source or empty. If neither option is set the content of the target field is the target text or empty.
-all Allows entries that have no text to be converted. If this option is not set (the default), the entries that are empty, or contains only codes or whitespaces are not included in the output file. If this option is set all entries are included in the output.
-approved If this option is set only approved entries are included.
-rd rootDirectory The root directory (by default the user’s home directory).

For example:

tikal -2tmx data.po -sl EN -tl ZU

Creates a TMX document from the PO file data.po. The source language is English and the target Zulu.

tikal -2tmx data.tmx -sl EN -tl DE -trgempty

Creates a TMX document from another TMX document named data.tmx. The source language is English and the target German. The content of the elements for the German will be empty.

]]>