<?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=How_to_Translate_Transifex_Projects_with_OmegaT</id>
	<title>How to Translate Transifex Projects with OmegaT - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=How_to_Translate_Transifex_Projects_with_OmegaT"/>
	<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=How_to_Translate_Transifex_Projects_with_OmegaT&amp;action=history"/>
	<updated>2026-04-22T16:39:13Z</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=How_to_Translate_Transifex_Projects_with_OmegaT&amp;diff=598&amp;oldid=prev</id>
		<title>Ysavourel at 13:51, 5 June 2016</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=How_to_Translate_Transifex_Projects_with_OmegaT&amp;diff=598&amp;oldid=prev"/>
		<updated>2016-06-05T13:51:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:51, 5 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You need to have the [[Okapi Filters Plugin for OmegaT]] installed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You need to have the [[Okapi Filters Plugin for OmegaT]] installed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The plugin with this functionality is beta and currently only available in the snapshots distributions (http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;okapi&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;opentag.com&lt;/del&gt;/snapshots).}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The plugin with this functionality is beta and currently only available in the snapshots distributions (http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;okapiframework&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;org&lt;/ins&gt;/snapshots).}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Creating the project file===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Creating the project file===&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=How_to_Translate_Transifex_Projects_with_OmegaT&amp;diff=469&amp;oldid=prev</id>
		<title>Ysavourel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=How_to_Translate_Transifex_Projects_with_OmegaT&amp;diff=469&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=How_to_Translate_Transifex_Projects_with_OmegaT&amp;diff=468&amp;oldid=prev</id>
		<title>Ysavourel at 11:16, 19 September 2011</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=How_to_Translate_Transifex_Projects_with_OmegaT&amp;diff=468&amp;oldid=prev"/>
		<updated>2011-09-19T11:16:50Z</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;__NOTOC__&lt;br /&gt;
This article shows how you can translate the files of a Transifex project using OmegaT.[[Image:OmegaTandTransifex.png|thumb|Editing a Transifex project from OmegaT (Windows&amp;amp;nbsp;XP)]]&lt;br /&gt;
&lt;br /&gt;
* [http://www.transifex.org Transifex] is a free and open-source translation collaborative platform. A Transifex project is a place where one party can upload files for translation, and another party can access these files to translate them online or locally.&lt;br /&gt;
* [http://www.omegat.org/ OmegaT] is a free and open-source translation tool that offers support for many file formats. It also provides a plugin mechanism to use addition filters.&lt;br /&gt;
&lt;br /&gt;
===Pre-requisites===&lt;br /&gt;
&lt;br /&gt;
For this example, we will assume there is a project called &amp;quot;My Project&amp;quot; in a Transifex server located at &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://www.myserver.net&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; that you want to translate from English into Spanish.&lt;br /&gt;
&lt;br /&gt;
We assume you do have an account in the server, and you do have the proper rights to modify the Spanish translations (e.g. by belonging to the Spanish translation team for that project).&lt;br /&gt;
&lt;br /&gt;
In addition you also need to know the identifier for the project. It is the last part of the URL that points to the project.&amp;lt;br/&amp;gt;For example if the URL is &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://www.myserver.net/projects/p/myproject/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, the identifier is &amp;lt;code&amp;gt;myproject&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You need to have OmegaT installed.&lt;br /&gt;
&lt;br /&gt;
You need to have the [[Okapi Filters Plugin for OmegaT]] installed.&lt;br /&gt;
&lt;br /&gt;
{{NoteBox|The plugin with this functionality is beta and currently only available in the snapshots distributions (http://okapi.opentag.com/snapshots).}}&lt;br /&gt;
&lt;br /&gt;
===Creating the project file===&lt;br /&gt;
&lt;br /&gt;
1. On you machine, create an empty text file named &amp;lt;code&amp;gt;myproject.txp&amp;lt;/code&amp;gt;. It can have any name, but must use the &amp;lt;code&amp;gt;.txp&amp;lt;/code&amp;gt; extension.&lt;br /&gt;
&lt;br /&gt;
2. Open the file in a text editor and enter the following:&lt;br /&gt;
&lt;br /&gt;
 host=&amp;lt;nowiki&amp;gt;http://www.myserver.net&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 user=theUsername&lt;br /&gt;
 password=thePassword&lt;br /&gt;
 projectId=myproject&lt;br /&gt;
&lt;br /&gt;
3. Save the file (in UTF-8 if there are extended characters).&lt;br /&gt;
&lt;br /&gt;
===Creating the OmegaT project===&lt;br /&gt;
&lt;br /&gt;
1. Start OmegaT.&lt;br /&gt;
&lt;br /&gt;
2. Create a new project. In our example the source is English (&amp;lt;code&amp;gt;en&amp;lt;/code&amp;gt;) and the target Spanish (&amp;lt;code&amp;gt;es&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Make sure the '''source and target languages codes of the OmegaT project match the source and target language codes of the Transifex project'''. For example English is &amp;lt;code&amp;gt;en&amp;lt;/code&amp;gt;, not &amp;lt;code&amp;gt;en-us&amp;lt;/code&amp;gt;. The case can be different and you can use either &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt; to separate country and region.&lt;br /&gt;
&lt;br /&gt;
3. Once the project is created, simply add the file &amp;lt;code&amp;gt;myproject.txp&amp;lt;/code&amp;gt; as a source file, using the &amp;lt;cite&amp;gt;Import Source Files&amp;lt;/cite&amp;gt; button or command.&lt;br /&gt;
&lt;br /&gt;
When you are importing the source file, the [[Transifex Filter]] fetches the list of all resources in the given project and loads them one by one into your OmegaT project.&lt;br /&gt;
&lt;br /&gt;
The content of all the resources will appear as a single source file that is &amp;lt;code&amp;gt;myproject.txp&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{NoteBox|This may not be the safest way to work, see below how to work with a specified sub-set of the resources of a project.}}&lt;br /&gt;
&lt;br /&gt;
===Pushing your translations into Transifex===&lt;br /&gt;
&lt;br /&gt;
Any time you want to update the Transifex project with your translations, simply use the &amp;lt;cite&amp;gt;Create Translated Documents&amp;lt;/cite&amp;gt; command from the &amp;lt;cite&amp;gt;File&amp;lt;/cite&amp;gt; menu of OmegaT. This will merge all the segments into the Transifex repository.&lt;br /&gt;
&lt;br /&gt;
{{WarningBox|Currently, if a segment has not been translated, OmegaT saves a copy of the source segment in its place. This means once you create the translated documents from OmegaT, all strings in the Transifex will be populated, either by real translations ''or by copies of the source''. And Transifex will mark the project as 100% completed.}}&lt;br /&gt;
&lt;br /&gt;
===Working with selected resources only===&lt;br /&gt;
&lt;br /&gt;
If your project file contains no resources, the filter fetches automatically all the resources available for the given project. This may be an issue if new resources are added at the middle of your work.&lt;br /&gt;
&lt;br /&gt;
So it is highly recommended to work on a specified set of resources only.&lt;br /&gt;
&lt;br /&gt;
You can do this by listing the identifiers of the resources you want to work with in the project file. For example:&lt;br /&gt;
&lt;br /&gt;
 host=&amp;lt;nowiki&amp;gt;http://www.myserver.net&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 user=theUsername&lt;br /&gt;
 password=thePassword&lt;br /&gt;
 projectId=myproject&lt;br /&gt;
 &amp;lt;span class=&amp;quot;hi&amp;quot;&amp;gt;resource1po&lt;br /&gt;
 resource2po&lt;br /&gt;
 resource13po&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the project above only the resources with the identifiers &amp;lt;code&amp;gt;resource1po&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;resource2po&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;resource13po&amp;lt;/code&amp;gt; will be read and written back.&lt;br /&gt;
&lt;br /&gt;
The resource identifier is the last part of the URL that points to the resource. For example, in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://www.myserver.net/projects/p/myproject/resource/resource13po/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, the resource identifier is &amp;lt;code&amp;gt;resource13po&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Limitations===&lt;br /&gt;
&lt;br /&gt;
* Currently the Transifex does not provide a way to lock a resource using the API, so the plugin has no way to set a lock when fetching a resource from the Transifex server and putting it in your OmegaT project. You can lock and unlock the resources manually from the interface of Transifex.&lt;br /&gt;
&lt;br /&gt;
[[Category:Translation Formats]]&lt;/div&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
</feed>