<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Tikal_-_Conversion_Commands</id>
	<title>Tikal - Conversion Commands - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Tikal_-_Conversion_Commands"/>
	<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Conversion_Commands&amp;action=history"/>
	<updated>2026-04-22T15:06:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Tikal_-_Conversion_Commands&amp;diff=231&amp;oldid=prev</id>
		<title>Ysavourel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Conversion_Commands&amp;diff=231&amp;oldid=prev"/>
		<updated>2016-06-04T23:19:56Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:19, 4 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Tikal_-_Conversion_Commands&amp;diff=230&amp;oldid=prev</id>
		<title>Ysavourel at 12:03, 23 February 2015</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Conversion_Commands&amp;diff=230&amp;oldid=prev"/>
		<updated>2015-02-23T12:03:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Tikal Common Menu}}&lt;br /&gt;
__TOC__&lt;br /&gt;
==Convert to PO Format==&lt;br /&gt;
&lt;br /&gt;
Creates a PO file for the give input file. If the input file is multilingual (like a TMX or a TS file), the source and target will be in the PO file.&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -2po [options] inputFile [inputFile2...]&lt;br /&gt;
&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-fc configId&amp;lt;/code&amp;gt; || The identifier of the filter configuration to use for the input files&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-ie encoding&amp;lt;/code&amp;gt; || The encoding name of the input files. this is used only if the filter cannot detect the encoding from the input file itself.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language of the input files. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-generic&amp;lt;/code&amp;gt; || Indicates to use generic notation for inline codes in the generated PO file, for example &amp;lt;code&amp;gt;&amp;amp;lt;1/&amp;gt;&amp;lt;/code&amp;gt; vs. &amp;lt;code&amp;gt;&amp;amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;. If this option is not specified the inline codes are output in their original form.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-trgsource&amp;amp;#x7c;&amp;lt;br/&amp;gt;-trgempty&amp;lt;/code&amp;gt; || 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.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-all&amp;lt;/code&amp;gt; || Allows entries that have no text to be converted. If this option is not set, 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.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-approved&amp;lt;/code&amp;gt; || If this option is set only approved entries are included.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-rd rootDirectory&amp;lt;/code&amp;gt; || The root directory (by default the user's home directory).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -2po data.tmx -sl EN -tl ZU&lt;br /&gt;
&lt;br /&gt;
Creates a PO file from the TMX document &amp;lt;code&amp;gt;data.tmx&amp;lt;/code&amp;gt;. The source language is English and the target Zulu.&lt;br /&gt;
&lt;br /&gt;
==Convert to TMX Format==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -2tmx [options] inputFile [inputFile2...]&lt;br /&gt;
&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-fc configId&amp;lt;/code&amp;gt; || The identifier of the filter configuration to use for the input files.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-ie encoding&amp;lt;/code&amp;gt; || The encoding name of the input files. this is used only if the filter cannot detect the encoding from the input file itself.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language of the input files. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-trgsource&amp;amp;#x7c;&amp;lt;br/&amp;gt;-trgempty&amp;lt;/code&amp;gt; || 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.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-all&amp;lt;/code&amp;gt; || 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.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-approved&amp;lt;/code&amp;gt; || If this option is set only approved entries are included.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-rd rootDirectory&amp;lt;/code&amp;gt; || The root directory (by default the user's home directory).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -2tmx data.po -sl EN -tl ZU&lt;br /&gt;
&lt;br /&gt;
Creates a TMX document from the PO file &amp;lt;code&amp;gt;data.po&amp;lt;/code&amp;gt;. The source language is English and the target Zulu.&lt;br /&gt;
&lt;br /&gt;
 tikal -2tmx data.tmx -sl EN -tl DE -trgempty&lt;br /&gt;
&lt;br /&gt;
Creates a TMX document from another TMX document named &amp;lt;code&amp;gt;data.tmx&amp;lt;/code&amp;gt;. The source language is English and the target German. The content of the &amp;lt;code&amp;gt;&amp;amp;lt;tuv&amp;gt;&amp;lt;/code&amp;gt; elements for the German will be empty.&lt;br /&gt;
&lt;br /&gt;
==Convert to Table Format==&lt;br /&gt;
&lt;br /&gt;
Creates a table-like output 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 output table.&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -2tbl [options] inputFile [inputFile2...]&lt;br /&gt;
&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-fc configId&amp;lt;/code&amp;gt; || The identifier of the filter configuration to use for the input files.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-ie encoding&amp;lt;/code&amp;gt; || The encoding name of the input files. this is used only if the filter cannot detect the encoding from the input file itself.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language of the input files. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-trgsource&amp;amp;#x7c;&amp;lt;br/&amp;gt;-trgempty&amp;lt;/code&amp;gt; || 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.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-csv&amp;amp;#x7c;&amp;lt;br/&amp;gt;-tab&amp;lt;/code&amp;gt; || Output format: &amp;lt;code&amp;gt;-csv&amp;lt;/code&amp;gt; for comma-separated values, or &amp;lt;code&amp;gt;-tab&amp;lt;/code&amp;gt; for tab-delimited values.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-xliff&amp;amp;#x7c;&amp;lt;br/&amp;gt;-xliffgx&amp;amp;#x7c;&amp;lt;br/&amp;gt;-tmx&amp;amp;#x7c;&amp;lt;br/&amp;gt;-generic&amp;lt;/code&amp;gt; || Inline codes format: &amp;lt;code&amp;gt;-xliff&amp;lt;/code&amp;gt; for [[XLIFF]], &amp;lt;code&amp;gt;-xliffgx&amp;lt;/code&amp;gt; for XLIFF with g/x notation, &amp;lt;code&amp;gt;-tmx&amp;lt;/code&amp;gt; for TMX, or &amp;lt;code&amp;gt;-generic&amp;lt;/code&amp;gt; for generic placeholders.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-all&amp;lt;/code&amp;gt; || Allows entries that have no text to be converted. If this option is not set, 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.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-approved&amp;lt;/code&amp;gt; || If this option is set only approved entries are included.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-rd rootDirectory&amp;lt;/code&amp;gt; || The root directory (by default the user's home directory).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -2tbl data.tmx -sl EN -tl ZU&lt;br /&gt;
&lt;br /&gt;
Creates a tab-delimited file from the TMX document data.tmx. Any inline codes is output in its original form. The source language is English and the target Zulu. Any tab character within the text is escaped with a backslash prefix.&lt;br /&gt;
&lt;br /&gt;
 tikal -2tbl data.po -sl EN -tl ES -csv -xliffgx -trgsource&lt;br /&gt;
&lt;br /&gt;
Creates a comma-separated values output file from the PO file data.po. The inline codes are represented as XLIFF elements using the &amp;lt;code&amp;gt;&amp;amp;lt;g&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;x&amp;gt;&amp;lt;/code&amp;gt; notation. The text is between double quotes, and any double-quote and backslash characters within the text is escaped with a backslash prefix. The source language is English and the target Spanish. the content of the target column is a copy of the source.&lt;br /&gt;
&lt;br /&gt;
==Import into Pensieve TM==&lt;br /&gt;
&lt;br /&gt;
Imports the specified input documents into a [[Pensieve TM]] database. If the specified TM does not exists, it is created. If it does exist, the entries of the input files are added to it.&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -imp myTMdirectory [options] inputFile [inputFile2...]&lt;br /&gt;
&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-fc configId&amp;lt;/code&amp;gt; || The identifier of the filter configuration to use for the input files.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-ie encoding&amp;lt;/code&amp;gt; || The encoding name of the input files. this is used only if the filter cannot detect the encoding from the input file itself.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language of the input files. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-trgsource&amp;amp;#x7c;&amp;lt;br/&amp;gt;-trgempty&amp;lt;/code&amp;gt; || 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.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-all&amp;lt;/code&amp;gt; || 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 (if they respect the other options).&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-over&amp;lt;/code&amp;gt; || If this option is set and an entry to import has the same source text as one or more entries in the existing TM, all the existing entries will be replaced by the new one. Do not set this option if you want to allow different translations for the same source.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-approved&amp;lt;/code&amp;gt; || If this option is set only approved entries are included.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;|&amp;lt;code&amp;gt;-rd rootDirectory&amp;lt;/code&amp;gt; || The root directory (by default the user's home directory).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -imp myTMdir data.po -sl JA -tl FR&lt;br /&gt;
&lt;br /&gt;
Imports the PO file &amp;lt;code&amp;gt;data.po&amp;lt;/code&amp;gt; into the TM database located in &amp;lt;code&amp;gt;myTMDir&amp;lt;/code&amp;gt;. If the directory does not exists it will be created. If a TM exists, the entries of the input file(s) will be added to it. The source language of the PO file is Japanese and the target French.&lt;br /&gt;
&lt;br /&gt;
==Export TMX from Pensieve TM==&lt;br /&gt;
&lt;br /&gt;
Creates a TMX output file for the the given [[Pensieve TM|Pensieve TMs]].&lt;br /&gt;
&lt;br /&gt;
The syntax of this command is:&lt;br /&gt;
&lt;br /&gt;
 -exp tmDirectory [tmDirectory2...] [options]&lt;br /&gt;
&lt;br /&gt;
Where the options are:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|nowrap=&amp;quot;nowrap&amp;quot;| &amp;lt;code&amp;gt;-sl srcLang&amp;lt;/code&amp;gt; || The code of the source language of the input files. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-tl trgLang&amp;lt;/code&amp;gt; || The code of the target language. [[Tikal - Usage#Source and Target Languages|See more details...]]&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-trgsource&amp;amp;#x7c;&amp;lt;br/&amp;gt;-trgempty&amp;lt;/code&amp;gt; || 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.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;-all&amp;lt;/code&amp;gt; || 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.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 tikal -exp myProjectTM -sl en -tl IT&lt;br /&gt;
&lt;br /&gt;
Creates a TMX document from the Pensieve TM stored in &amp;lt;code&amp;gt;myProjectTM&amp;lt;/code&amp;gt;. The source language is English and the target Italian.&lt;br /&gt;
&lt;br /&gt;
Note that the command &amp;lt;code&amp;gt;-exp&amp;lt;/code&amp;gt; is a shortcut for the &amp;lt;code&amp;gt;-2tmx&amp;lt;/code&amp;gt; command ([[#Convert to TMX Format|Convert to TMX Format]]). You can export Pensieve TM entries in table, TMX or PO format using the filter configuration &amp;lt;code&amp;gt;okf_pensieve&amp;lt;/code&amp;gt;. For instance, the example above can be also execute using the following command:&lt;br /&gt;
&lt;br /&gt;
 tikal -2tmx myProjectTM -fc okf_pensieve -sl en -tl IT&lt;br /&gt;
&lt;br /&gt;
[[Category:Tikal]] [[Category:Pensieve TM]] [[Category:TMX]]&lt;/div&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
</feed>