<?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_-_Usage</id>
	<title>Tikal - Usage - 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_-_Usage"/>
	<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Usage&amp;action=history"/>
	<updated>2026-04-19T05:33:34Z</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_-_Usage&amp;diff=465&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_-_Usage&amp;diff=465&amp;oldid=prev"/>
		<updated>2016-06-04T23:20:03Z</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:20, 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_-_Usage&amp;diff=464&amp;oldid=prev</id>
		<title>Mihnita: Added info on -logger and -trace</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Tikal_-_Usage&amp;diff=464&amp;oldid=prev"/>
		<updated>2012-11-24T23:29:17Z</updated>

		<summary type="html">&lt;p&gt;Added info on -logger and -trace&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;
==Running Tikal==&lt;br /&gt;
&lt;br /&gt;
Tikal is a command-line tool. To run it you need to be in a DOS or shell console.&lt;br /&gt;
&lt;br /&gt;
* On Windows you can start a DOS prompt by executing the file named &amp;lt;code&amp;gt;startTikalPrompt.bat&amp;lt;/code&amp;gt; that is located in the main directory of the Okapi installation.&lt;br /&gt;
&lt;br /&gt;
* On Linux and Macintosh you need first to open a shell console, then you can use the file &amp;lt;code&amp;gt;tikal.sh&amp;lt;/code&amp;gt; that is located in the main directory of the Okapi installation.&lt;br /&gt;
&lt;br /&gt;
Note that if you want to be able to always access Tikal from any prompt, you main have to setup your system so &amp;lt;code&amp;gt;tikal.bat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;tikal.sh&amp;lt;/code&amp;gt; are in your search path.&lt;br /&gt;
&lt;br /&gt;
There are various commands available:&lt;br /&gt;
&lt;br /&gt;
* [[Tikal - Extraction Commands|Extraction Commands]]&lt;br /&gt;
* [[Tikal - Translation Commands|Translation Commands]]&lt;br /&gt;
* [[Tikal - Conversion Commands|Conversion Commands]]&lt;br /&gt;
* [[Tikal - Miscellaneous Commands|Miscellaneous Commands]]&lt;br /&gt;
&lt;br /&gt;
==Source and Target Languages==&lt;br /&gt;
&lt;br /&gt;
Most commands in Tikal require a source language, a target language or both to be specified. The values of those parameters is computed using the following process:&lt;br /&gt;
&lt;br /&gt;
===Source Language===&lt;br /&gt;
&lt;br /&gt;
: If the option &amp;lt;code&amp;gt;-sl&amp;lt;/code&amp;gt; is used:&lt;br /&gt;
:: &amp;amp;rarr; its value is used as the source language.&lt;br /&gt;
: Else:&lt;br /&gt;
:: If the input file is in a format where Tikal detects language settings (XLIFF, TMX, TTX, etc.):&lt;br /&gt;
::: If a source language is detected:&lt;br /&gt;
:::: &amp;amp;rarr; that value is used as the source language.&lt;br /&gt;
:: If no source language has been set yet:&lt;br /&gt;
::: &amp;amp;rarr; English (&amp;lt;code&amp;gt;en&amp;lt;/code&amp;gt;) is used as the source language.&lt;br /&gt;
&lt;br /&gt;
===Target Language===&lt;br /&gt;
&lt;br /&gt;
: If the option &amp;lt;code&amp;gt;-tl&amp;lt;/code&amp;gt; is used:&lt;br /&gt;
:: &amp;amp;rarr; its value is used as the target language.&lt;br /&gt;
: Else:&lt;br /&gt;
:: If the input file is in a format where Tikal detects language settings (XLIFF, TMX, TTX, etc.):&lt;br /&gt;
::: If a target language is detected:&lt;br /&gt;
:::: &amp;amp;rarr; that value is used as the target language.&lt;br /&gt;
:: If no target language has been set yet:&lt;br /&gt;
::: &amp;amp;rarr; The language corresponding to the current value of the default locale for the running Java VM is used, except if it is the same as the source language; in that case French (&amp;lt;code&amp;gt;fr&amp;lt;/code&amp;gt;) is used as the target language.&lt;br /&gt;
&lt;br /&gt;
==Display Encoding==&lt;br /&gt;
&lt;br /&gt;
In order to display characters properly with Tikal, you must make sure the display encoding of your shell session (e.g. DOS or bash) is the same as the output generated by Tikal.&lt;br /&gt;
&lt;br /&gt;
The default depends on the operating system and may not be guessed correctly in many cases.&lt;br /&gt;
&lt;br /&gt;
The user can override the guess by specifying the encoding to use in Tikal in a configuration file named &amp;lt;code&amp;gt;.Tikal&amp;lt;/code&amp;gt; and located in the user's home directory. The system is&lt;br /&gt;
&lt;br /&gt;
 displayEncoding=&amp;amp;lt;javaEncodingName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, the following will change the encoding of the Tikal display output to UTF-8:&lt;br /&gt;
&lt;br /&gt;
 displayEncoding=UTF-8&lt;br /&gt;
&lt;br /&gt;
Note that changing the display encoding does not affect the encoding of the output files, only the way the string are displayed on the terminal.&lt;br /&gt;
&lt;br /&gt;
==Logging and trace==&lt;br /&gt;
&lt;br /&gt;
You can pass the &amp;lt;code&amp;gt;-logger&amp;lt;/code&amp;gt; flag to output all messages to the current logger instead of the console.&lt;br /&gt;
Might be pretty noisy, but you have full control by tweaking the logger configuration.&lt;br /&gt;
You can find more info on logging here: http://code.google.com/p/okapi/wiki/OkapiLogging.&lt;br /&gt;
&lt;br /&gt;
When passed the &amp;lt;code&amp;gt;-trace&amp;lt;/code&amp;gt; flag tikal outputs all debug messages from other components to the console.&lt;br /&gt;
This has no effect when the &amp;lt;code&amp;gt;-logger&amp;lt;/code&amp;gt; flag is in effect, as the logger gets full control on the output.&lt;br /&gt;
&lt;br /&gt;
==Help and Information==&lt;br /&gt;
&lt;br /&gt;
* Use &amp;lt;code&amp;gt;-?&amp;lt;/code&amp;gt; to display the usage screen for Tikal.&lt;br /&gt;
* Use &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-help&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; to display this help page.&lt;br /&gt;
* Use &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-info&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; to version and other information.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
 tikal -?&lt;br /&gt;
 tikal --help&lt;br /&gt;
 tikal -info&lt;br /&gt;
&lt;br /&gt;
Note that these three commands preempt any other commands. For example, the following command will only show the usage screen, not extract any file:&lt;br /&gt;
&lt;br /&gt;
 tikal -x myFile.html -sl zu -tl eo -?&lt;br /&gt;
&lt;br /&gt;
[[Category:Tikal]]&lt;/div&gt;</summary>
		<author><name>Mihnita</name></author>
	</entry>
</feed>