<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>ertza</title>
	<atom:link href="http://ertza.murgilduta.net/feed/en/" rel="self" type="application/rss+xml" />
	<link>http://ertza.murgilduta.net</link>
	<description>software librea eta euskararen arteko ertzean.</description>
	<pubDate>Fri, 29 Aug 2008 13:43:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Summer of Code is over: Summary</title>
		<link>http://ertza.murgilduta.net/2008/08/29/summer-of-code-is-over-summary/en/</link>
		<comments>http://ertza.murgilduta.net/2008/08/29/summer-of-code-is-over-summary/en/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 22:14:49 +0000</pubDate>
		<dc:creator>Julen</dc:creator>
		
		<category><![CDATA[SoC 08]]></category>

		<category><![CDATA[pootle]]></category>

		<category><![CDATA[proiektuak]]></category>

		<category><![CDATA[gsoc]]></category>

		<category><![CDATA[translate toolkit]]></category>

		<guid isPermaLink="false">http://ertza.murgilduta.net/?p=74</guid>
		<description><![CDATA[It seems it was yesterday when I applied for the Google Summer of Code 2008, and official coding period ended just some days ago. It&#8217;s been a new fantastic experience for me, and in this post I&#8217;ll try to summarize the work that has been done and what&#8217;s been left out.
As you probably know, my [...]]]></description>
			<content:encoded><![CDATA[<p>It seems it was yesterday when I applied for the <a href="http://code.google.com/soc/2008/" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');" title="GSoC 2008" hreflang="en">Google Summer of Code 2008</a>, and official coding period ended just some days ago. It&#8217;s been a new fantastic experience for me, and in this post I&#8217;ll try to summarize the work that has been done and what&#8217;s been left out.</p>
<p>As you probably know, <a href="http://code.google.com/soc/2008/translate/appinfo.html?csaid=90589421040411BE" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');" title="Effective user experience for Pootle">my project</a> aimed to improve Pootle&#8217;s user experience by adding new functionalities and improving existing ones.</p>
<p><span id="more-74"></span></p>
<h3>Things already done</h3>
<ul>
<li>Support for an <a href="http://bugs.locamotion.org/show_bug.cgi?id=209" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="Bug 209" hreflang="en">alternative source language</a>. With this new feature translators who know another language better than English will be able to translate using that language. Thus, new contributors can take part in the translation process. Also, this opens a way to disambiguate words with vague meaning or to help guessing the context.
<div class="centeredimg"><a href='http://ertza.murgilduta.net/wp-content/uploads/2008/08/alternative_source_language.png'><img src="http://ertza.murgilduta.net/wp-content/uploads/2008/08/alternative_source_language-300x168.png" alt="Alternative source language" title="Alternative source language" width="300" height="168" /></a><br />
<span>Pootle displaying an alternative source language.</span></div>
</li>
<li><a href="http://bugs.locamotion.org/show_bug.cgi?id=427" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="Bug 427" hreflang="en">Viewing suggestions while translating</a>. Up to Pootle 1.1, in order to see suggestions made by others it was necessary to select the <code>View Suggestions</code> option within the editing functions. Now this is straightforward, as suggestions are shown just below the current translation unit. Therefore, translators are aware of the suggestions others have done and they don&#8217;t make the mistake of suggesting something that&#8217;s already suggested.<br />
Also, users with reviewing privileges will be able to accept and reject suggestions directly without reloading the entire page.</p>
<div class="centeredimg"><a href='http://ertza.murgilduta.net/wp-content/uploads/2008/06/view_suggestions.png'><img src="http://ertza.murgilduta.net/wp-content/uploads/2008/06/view_suggestions-300x133.png" alt="Viewing suggestions while translating" title="Viewing suggestions while translating" width="300" height="133" /></a><br />
<span>Viewing suggestions while translating.</span></div>
</li>
<li><a href="http://bugs.locamotion.org/show_bug.cgi?id=415" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="Bug 415" hreflang="en">Searching for fields</a>. Although Pootle has the ability to search using <a href="http://translate.sourceforge.net/wiki/toolkit/pogrep" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="pogrep" hreflang="en">pogrep</a> or an indexing engine such as <a href="http://www.xapian.org" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.xapian.org');" title="Xapian" hreflang="en">Xapian</a>, its interface only made it possible to perform simple searches. We made a list of the <a href="http://translate.sourceforge.net/wiki/developers/developers/julen/searching" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="Comparison between pogrep and indexing options" hreflang="en">possibilities each method offer</a>, and decided to put a goal to start improving this function: giving the ability to search for fields. So now it&#8217;s possible to select in which field we want to search, including source, target, location, and comments.</li>
<li><a href="http://bugs.locamotion.org/show_bug.cgi?id=456" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="Bug 456" hreflang="en">Automatically unfuzzying messages marked as fuzzy</a>. This is one of those things you don&#8217;t expect to do but end up doing it. Although it wasn&#8217;t in my original proposal, Dwayne, jealous with the work done with <a href="http://www.jquery.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.jquery.com');" title="jQuery" hreflang="en">jQuery</a>, posted <a href="http://thread.gmane.org/gmane.comp.misc.translate.pootle/1577" onclick="javascript:pageTracker._trackPageview('/outbound/article/thread.gmane.org');" title="http://thread.gmane.org/gmane.comp.misc.translate.pootle/1577" hreflang="en">an idea on the translate-pootle mailing list</a>, so I took that bug and worked on that for a while. Now, an entry marked as fuzzy will be automatically unchecked when a change is made to the text.</li>
<li>Similar to the previous task, I ended contributing a small patch to <a href="http://thread.gmane.org/gmane.comp.misc.translate.pootle/1697" onclick="javascript:pageTracker._trackPageview('/outbound/article/thread.gmane.org');" title="Hyperlink to check documentation" hreflang="en">restyle the text showing the current running checks</a>.</li>
<li>Documentation for the described features has been done/updated too: <a href="http://translate.sourceforge.net/wiki/pootle/alternative_source_language" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');">alternative source language</a>, <a href="http://translate.sourceforge.net/wiki/pootle/suggestions" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="Suggestions" hreflang="en">suggestions</a>, and <a href="http://translate.sourceforge.net/wiki/pootle/searching" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="Searching" hreflang="en">searching for fields</a>.
</ul>
<p>All these functionalities are already committed into <a href="http://translate.svn.sourceforge.net/viewvc/translate/src/trunk/" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.svn.sourceforge.net');" title="SVN trunk" hreflang="en">SVN trunk</a> and will be part of the upcoming <a href="http://thread.gmane.org/gmane.comp.misc.translate.devel/1407" onclick="javascript:pageTracker._trackPageview('/outbound/article/thread.gmane.org');" title="Preparing for release" hreflang="en">Pootle 1.2 release</a>. Anyway, now we&#8217;re <a href="http://beta.locamotion.org" onclick="javascript:pageTracker._trackPageview('/outbound/article/beta.locamotion.org');" title="Pootle beta server" hreflang="en">testing this new stuff</a> and some <a href="http://tinyurl.com/5g7rl2" onclick="javascript:pageTracker._trackPageview('/outbound/article/tinyurl.com');" title="Open bugs for 1.2 release" hreflang="en">bug fixing</a> is required before we can release a stable version.</p>
<p>Finally, I would like to point out another task I&#8217;ve been working on:</p>
<ul>
<li>Integrate open-tran. This isn&#8217;t finished yet, but I have a working prototype that shows suggestions retrieved from <a href="http://open-tran.eu" onclick="javascript:pageTracker._trackPageview('/outbound/article/open-tran.eu');" title="open-tran.eu" hreflang="en">open-tran.eu</a> using the XML-RPC interface. Some rework needs to be done on the code-base but I hope to finish it soon.</li>
</ul>
<h3>Things left to do or not started</h3>
<p>It&#8217;s not easy estimating how much things you&#8217;ll be able to do in a three months time-frame, and this task becomes more difficult when you don&#8217;t know which code you&#8217;ll have to deal with. This leads to a couple of tasks dropped from the original proposal:</p>
<ul>
<li>Merging from templates. The idea was giving project administrators an easy way to upload templates without getting onto the server.</li>
<li>RSS feeds. Communication is far from ideal in Pootle, and it&#8217;s very important to keep translators up-to-date in what refers to new/updated translations. With the work on the <a href="http://translate.svn.sourceforge.net/viewvc/translate/src/branches/mozootle/" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.svn.sourceforge.net');" title="mozootle branch" hreflang="en">mozootle branch</a>, Pootle will add support for databases so perhaps this makes it easier to open new communication ways.</li>
</ul>
<p>Also, as far as time permits, I&#8217;m planning to continue developing for Pootle, and there are some areas where it&#8217;s necessary to focus in order to refine the work done until the moment:</p>
<ul>
<li><a href="http://bugs.locamotion.org/show_bug.cgi?id=480" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="Bug 480" hreflang="en">Performing AJAX requests efficiently</a>. This affects specially to suggestions, since the code in trunk sends data to the general-purpose <code>translatepage</code> (inefficiently), and ideally a single script should handle that and return a response in XML or JSON format.</li>
<li><a href="http://bugs.locamotion.org/show_bug.cgi?id=473" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="Bug 473" hreflang="en">Handle correctly paste events before we go unfuzzy</a>. As each browser has its implementation for events, it&#8217;s very tricky being able to handle them all. Therefore, another approach should be taken in this aspect to avoid these issues.</li>
<li>Expand alternative source language support. By now this feature works only on <em>plain</em> units, i.e., doesn&#8217;t support plural forms. Also, optimizations to gain performance should be taken into account.</li>
</ul>
<h3>All is not about coding</h3>
<p>But Summer of Code is not just coding, it&#8217;s also about learning new things, personal experiences, and knowing new people. Some random bits about this:</p>
<ul>
<li><a href="http://www.kernel.org/pub/software/scm/git/docs/git-svn.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.kernel.org');" title="git-svn" hreflang="en">git-svn</a>. I didn&#8217;t know I could use git and svn both at the same time. The main code is held at the SourceForge SVN repository, and with git-svn it&#8217;s been very easy to make feature branches to work on. It took me some time getting used to it, but it&#8217;s worthwhile.</li>
<li>Dynamic web development is not just PHP.</li>
<li>I love <a href="http://www.jquery.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.jquery.com');" title="jQuery" hreflang="en">jQuery</a>. JavaScript made simple.</li>
<li>Have you ever been in a situation where you hate all the browsers? Oh yeah, rendering issues suck, it&#8217;s better not knowing how much time I&#8217;ve spent trying to resolve those kind of conflicts.</li>
<li><code>dir=rtl</code> should display items as if they were reflected on a mirror.</li>
<li>Community support is the key in <a href="http://en.wikipedia.org/wiki/Free_and_open_source_software" onclick="javascript:pageTracker._trackPageview('/outbound/article/en.wikipedia.org');" title="Free and Open Source Software" hreflang="en">FLOSS</a>. Although I had background on other FLOSS projects, SoC experience has introduced me deeply into this world. It&#8217;s been very important the community support in order to get feedback, testing, a <em>thank you</em> note or even have a chat.</li>
<li>Communication in English is another good point for this SoC &mdash; I&#8217;m not from an English-speaking zone. This blog is one of the side-effects for that need of communication, along with IRC meetings and weekly reports.</li>
<li>It&#8217;s been a great pleasure having the chance to know the people you&#8217;re working with face-to-face and discussing project-related things around a table or having a drink.</li>
</ul>
<h3>Thank you notes</h3>
<p>This project wouldn&#8217;t be possible without people that have been supporting my work for a while, so with these humble lines I&#8217;d like to say <em>thank you</em> (in no particular order): <a href="http://www.translate.org.za" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.translate.org.za');" title="Translate.org.za" hreflang="en">Translate.org.za</a> staff (I&#8217;ve felt like at home with you), <a href="http://www.translate.org.za/blogs/friedel/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.translate.org.za');" title="Friedel Wolff" hreflang="en">Friedel Wolff</a> (hey man, you have time for everything!), <a href="http://www.translate.org.za/blogs/dwayne/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.translate.org.za');" title="Dwayne Bailey" hreflang="en">Dwayne Bailey</a> (thanks for your ideas and general support), <a href="http://www.translate.org.za/blogs/wynand/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.translate.org.za');" title="Wynand Winterbach" hreflang="en">Wynand Winterbach</a> (you&#8217;re the git master! thanks for all), my mentor <a href="http://sayamindu.randomink.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/sayamindu.randomink.org');" title="Sayamindu Dasgupta" hreflang="en">Sayamindu Dasgupta</a> (you&#8217;ve done more than you could think, specially at the beginning), Lars Kruse (fundamental for the search stuff), all the people at #pootle and translate-devel and translate-pootle mailing lists, for your help, comments, and appreciations, and <a href="http://www.google.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.google.com');" title="Google" hreflang="en">Google</a> for making these things happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://ertza.murgilduta.net/2008/08/29/summer-of-code-is-over-summary/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Fixing git-svn after SourceForge update</title>
		<link>http://ertza.murgilduta.net/2008/07/18/fixing-git-svn-after-sourceforge-update/en/</link>
		<comments>http://ertza.murgilduta.net/2008/07/18/fixing-git-svn-after-sourceforge-update/en/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 09:56:50 +0000</pubDate>
		<dc:creator>Julen</dc:creator>
		
		<category><![CDATA[git]]></category>

		<category><![CDATA[pootle]]></category>

		<category><![CDATA[proiektuak]]></category>

		<category><![CDATA[softwarea]]></category>

		<category><![CDATA[git-svn]]></category>

		<category><![CDATA[http]]></category>

		<category><![CDATA[https]]></category>

		<category><![CDATA[sourceforge]]></category>

		<guid isPermaLink="false">http://ertza.murgilduta.net/?p=73</guid>
		<description><![CDATA[Recently SourceForge has updated its SVN infrastructure and it seems that from now on git-svn dcommit doesn&#8217;t work anymore with repositories configured to use the plain HTTP protocol, so we have to change some things in order to have our git-svn environment working with HTTPS.
Wynand has shown me his orange-belt-git-man abilities and in a few [...]]]></description>
			<content:encoded><![CDATA[<p>Recently SourceForge <a href="http://sourceforge.net/community/forum/topic.php?id=2892&#038;page" onclick="javascript:pageTracker._trackPageview('/outbound/article/sourceforge.net');" title="Subversion migration completed">has updated its SVN infrastructure</a> and it seems that from now on <code>git-svn dcommit</code> doesn&#8217;t work anymore with repositories configured to use the plain <code>HTTP</code> protocol, so we have to change some things in order to have our <code>git-svn</code> environment working with <code>HTTPS</code>.</p>
<p><a href="http://www.translate.org.za/blogs/wynand" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.translate.org.za');" title="Wynand Winterbach">Wynand</a> has shown me his orange-belt-git-man abilities and in a few minutes we&#8217;ve managed to get all the stuff working again. I&#8217;m going to list the command we&#8217;ve used just for the record.</p>
<ol>
<li>First, we create a file containing all our refs list, <code>.git/packed-refs</code>:

<div class="wp_syntax"><div class="code"><pre class="bash">$ git-<span style="color: #c20cb9; font-weight: bold;">gc</span></pre></div></div>

</li>
<li>Before making any change to our repository, we make a backup. After that, we can run <code>git-filter-branch</code>, a tool that lets rewrite the git revision history by rewriting the branches. Wynand provided a one-liner that does the job:

<div class="wp_syntax"><div class="code"><pre class="bash">$ git-filter-branch --msg-filter <span style="color: #ff0000;">'sed &quot;s/git-svn-id: http/git-svn-id: https/g&quot;'</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">cat</span> .git<span style="color: #000000; font-weight: bold;">/</span>packed-refs <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'/[a-fA-F0-9]*/ {print $2}'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> -v <span style="color: #ff0000;">'pack-refs'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Which replaces the occurrences of <em>http</em> with <em>https</em> for each reference listed under <code>.git/packed-refs</code>. We should see something like this in the progress:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">Rewrite 05f17b2a31e82fc1354d3865ae9adcaef3a7ca5e <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">3374</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">3415</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

</li>
<li>Then, we need to fix our repository configuration stored in <code>.git/config</code>:

<div class="wp_syntax"><div class="code"><pre class="bash">$ vi .git<span style="color: #000000; font-weight: bold;">/</span>config
:s<span style="color: #000000; font-weight: bold;">/</span>http<span style="color: #000000; font-weight: bold;">/</span>https
:wq</pre></div></div>

</li>
<li>Now, the first step to see whether it works:

<div class="wp_syntax"><div class="code"><pre class="bash">$ git-svn rebase</pre></div></div>

<p>Perhaps we get an error regarding SVN:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">Unable to determine upstream SVN information from working tree <span style="color: #7a0874; font-weight: bold;">history</span></pre></div></div>

<p>In that case,</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">rm</span> -rf .git<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>does the trick.</li>
</ol>
<p>Note that probably we need to pass the <code>-f</code> flag to <code>git-push</code> the first time we&#8217;re pushing after this change.<br />
Now we can keep on working with git and SVN! Thank you Wynand!</p>
]]></content:encoded>
			<wfw:commentRss>http://ertza.murgilduta.net/2008/07/18/fixing-git-svn-after-sourceforge-update/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Testing needed for the new suggestions interface</title>
		<link>http://ertza.murgilduta.net/2008/07/11/testing-needed-for-the-new-suggestions-interface/en/</link>
		<comments>http://ertza.murgilduta.net/2008/07/11/testing-needed-for-the-new-suggestions-interface/en/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 10:53:26 +0000</pubDate>
		<dc:creator>Julen</dc:creator>
		
		<category><![CDATA[SoC 08]]></category>

		<category><![CDATA[pootle]]></category>

		<category><![CDATA[proiektuak]]></category>

		<category><![CDATA[suggestions]]></category>

		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://ertza.murgilduta.net/?p=72</guid>
		<description><![CDATA[More or less the new suggestions interface is finished so the more we test it, the better we get it. So feel free to test the latest patch from bug 427, and please comment the issues you found. You can provide feedback here, in the tracking bug, in my personal dashboard, or in the translate-pootle [...]]]></description>
			<content:encoded><![CDATA[<p>More or less the <a href="http://ertza.murgilduta.net/2008/06/30/enabling-suggestions-while-translating/en/"  title="Enabling suggestions while translating">new suggestions interface</a> is finished so the more we test it, the better we get it. So feel free to test the latest patch from <a href="http://bugs.locamotion.org/show_bug.cgi?id=427" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="View suggestions made by others while translating">bug 427</a>, and please comment the issues you found. You can provide feedback here, in the <a href="http://bugs.locamotion.org/show_bug.cgi?id=427" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="Enabling suggestions while translating">tracking bug</a>, in my <a href="http://translate.sourceforge.net/wiki/developers/developers/julen/index" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="GSoC 2008 - Julen Ruiz Aizpuru">personal dashboard</a>, or in the <a href="http://sourceforge.net/mailarchive/forum.php?forum_name=translate-pootle" onclick="javascript:pageTracker._trackPageview('/outbound/article/sourceforge.net');" title="Pootle mailing list">translate-pootle mailing list</a>.</p>
<p><strong>Update:</strong> we&#8217;ve setup the <a href="http://beta.locamotion.org" onclick="javascript:pageTracker._trackPageview('/outbound/article/beta.locamotion.org');" title="Pootle public beta server">beta Pootle server at beta.locamotion.org</a> with the new suggestions interface so it&#8217;s easier for you to check out this new feature.</p>
]]></content:encoded>
			<wfw:commentRss>http://ertza.murgilduta.net/2008/07/11/testing-needed-for-the-new-suggestions-interface/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Enabling suggestions while translating</title>
		<link>http://ertza.murgilduta.net/2008/06/30/enabling-suggestions-while-translating/en/</link>
		<comments>http://ertza.murgilduta.net/2008/06/30/enabling-suggestions-while-translating/en/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 10:53:41 +0000</pubDate>
		<dc:creator>Julen</dc:creator>
		
		<category><![CDATA[SoC 08]]></category>

		<category><![CDATA[pootle]]></category>

		<category><![CDATA[proiektuak]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[suggestions]]></category>

		<guid isPermaLink="false">http://ertza.murgilduta.net/?p=69</guid>
		<description><![CDATA[Pootle has the ability of making translation suggestions but at the moment they&#8217;re invisible at the time of translating unless the user selects View Suggestions from the editing functions, which is not a really effective approach.
Therefore, aiming to avoid duplicated work that can cause not seeing what others have suggested before, I&#8217;m working on enabling [...]]]></description>
			<content:encoded><![CDATA[<p>Pootle has the ability of making translation suggestions but at the moment they&#8217;re <em>invisible</em> at the time of translating unless the user selects <code>View Suggestions</code> from the editing functions, which is not a really effective approach.</p>
<p>Therefore, aiming to <strong>avoid duplicated work</strong> that can cause not seeing what others have suggested before, I&#8217;m working on <a href="http://repo.or.cz/w/pootle.git?a=shortlog;h=refs/heads/view_suggestions" onclick="javascript:pageTracker._trackPageview('/outbound/article/repo.or.cz');" title="view_suggestions branch">enabling suggestions while translating</a>. The user now sees the suggestions just below the translation text area. Users with reviewing privileges are able to accept and discard suggestions from the same interface, and that&#8217;s actually the part where I&#8217;ve been thinking of something <em>different</em>. Here comes the AJAX part.</p>
<p>To keep things easy and not reinventing the wheel, I&#8217;ve used <a href="http://jquery.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/jquery.com');" title="The Write Less, Do More, JavaScript Library">jQuery</a>, just as the guys working at <a href="http://translate.svn.sourceforge.net/viewvc/translate?view=rev&#038;revision=7679" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.svn.sourceforge.net');" title="Commit 7679">mozootle</a> have done ;) jQuery is a JavaScript library focused on keeping simplicity for developers at the same time of being <strong>fast and powerful</strong>. For instance, creating an <code>HTTP</code> <code>POST</code> request using the famous <code>XMLHttpRequest</code> object is as easy as writing <code>$.post("myscriptname", {param1: "value1"});</code></p>
<p>Coming back to our context, if the user has reviewing privileges, the interface will show two additional buttons (images) to accept or reject the suggestion. I&#8217;ve used the <a href="http://svn.gnome.org/viewvc/gtk%2B/trunk/gtk/stock-icons/20/" onclick="javascript:pageTracker._trackPageview('/outbound/article/svn.gnome.org');" title="GTK+ stock icons">tangoished GTK+ stock icons</a> (resizing them from 20&#215;20 to 16&#215;16), although I could use <a href="http://www.famfamfam.com/lab/icons/silk/previews/index_abc.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.famfamfam.com');" title="famfamfam silk">famfamfam silk icons</a> too; both are great.<br />
When the user selects an option, jQuery starts its action: first, retrieves the necessary parameters and creates a serialized string, then it makes an AJAX request and finally if all goes fine the suggestion is added or removed.</p>
<div class="centeredimg"><a href='http://ertza.murgilduta.net/wp-content/uploads/2008/06/view_suggestions.png'><img src="http://ertza.murgilduta.net/wp-content/uploads/2008/06/view_suggestions-300x133.png" alt="Viewing suggestions while translating" title="Viewing suggestions while translating" width="300" height="133" /></a><span>Accepting/rejecting suggestions works in an AJAX-fashion. Click to enlarge.</span></div>
<p>To give this a cool aspect, I&#8217;ve used an effect similar to the <a href="http://www.webdesignerwall.com/demo/jquery/wordpress-comments.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.webdesignerwall.com');" title="Play with the demo">WordPress Comments Management</a>. As of today, this is implemented only for the reject option, because accepting a suggestion should suppose more things than simply accepting that one: it should reject all the remaining suggestions and display things accordingly.</p>
<p>I think this feature will be more or less finished by this week, so keep an eye on <a href="http://bugs.locamotion.org/show_bug.cgi?id=427" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="Bug 427: Enabling suggestion suggestions while translating">bug 427</a> for patches.</p>
<p><strong>Update</strong>: I&#8217;ve made <a href="http://ertza.murgilduta.net/wp-content/uploads/2008/07/view_suggestions.ogg" onclick="javascript:pageTracker._trackPageview('/downloadsertza./wp-content/uploads/2008/07/view_suggestions.ogg');" title="Reviewing suggestions on the fly">a little screencast</a> to show you how this works.</p>
]]></content:encoded>
			<wfw:commentRss>http://ertza.murgilduta.net/2008/06/30/enabling-suggestions-while-translating/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Status update</title>
		<link>http://ertza.murgilduta.net/2008/06/24/status-update/en/</link>
		<comments>http://ertza.murgilduta.net/2008/06/24/status-update/en/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 12:39:43 +0000</pubDate>
		<dc:creator>Julen</dc:creator>
		
		<category><![CDATA[SoC 08]]></category>

		<category><![CDATA[pootle]]></category>

		<category><![CDATA[proiektuak]]></category>

		<category><![CDATA[gsoc]]></category>

		<category><![CDATA[translate toolkit]]></category>

		<guid isPermaLink="false">http://ertza.murgilduta.net/?p=66</guid>
		<description><![CDATA[Although there&#8217;s nothing tracked on this blog, Summer of Code officially started on May 26th (see the timeline), and it&#8217;s almost a month since then.
For those who aren&#8217;t on the loop, I&#8217;m working on adding and improving some Pootle functionalities, mentored by Sayamindu Dasgupta. Pootle is a web-based translation software built on top of the [...]]]></description>
			<content:encoded><![CDATA[<p>Although there&#8217;s nothing tracked on this blog, <a href="http://code.google.com/soc/2008" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');" title="Google Summer of Code">Summer of Code</a> officially started on May 26th (see the <a href="http://code.google.com/opensource/gsoc/2008/faqs.html#0.1_timeline" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');" title="SoC timeline">timeline</a>), and it&#8217;s almost a month since then.</p>
<p>For those who aren&#8217;t on the loop, I&#8217;m working on <a href="http://code.google.com/soc/2008/translate/appinfo.html?csaid=90589421040411BE" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');" title="Effective user experience for Pootle">adding and improving some Pootle functionalities</a>, mentored by <a href="http://sayamindu.randomink.org/ramblings/" onclick="javascript:pageTracker._trackPageview('/outbound/article/sayamindu.randomink.org');" title="Sayamindu's Ramblings">Sayamindu Dasgupta</a>. <a href="http://translate.sourceforge.net/wiki/pootle/index" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="PO-based Online Translation / Localization Engine">Pootle</a> is a web-based translation software built on top of the <a href="http://translate.sourceforge.net/wiki/toolkit/index" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="Translate Toolkit">Translate Toolkit</a>.</p>
<p>Obviously there have been things happening, and I&#8217;ll try to summarize in this post the main development that has been done.</p>
<p><strong>For the impatient</strong>: you can checkout <a href="http://translate.sourceforge.net/wiki/developers/developers/julen/index" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="Latest status of the project">my project dashboard</a> to have an overview of what&#8217;s going on.</p>
<p><span id="more-66"></span></p>
<h3>What&#8217;s been keeping me busy?</h3>
<p>First of all, university. I think the big majority of students taking part on SoC have been (or unfortunately, are) very busy finishing their latest university exams and projects. That&#8217;s quite a bit of time, and usually it takes longer than expected.</p>
<p>But well, at my spare time I&#8217;ve managed to setup my development environment (this probably deserves an entire post ;) and start working on giving support for an <a href="http://bugs.locamotion.org/show_bug.cgi?id=209" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');">alternative source language</a>. This feature is <strong>very useful for those translators who know other languages better than English</strong>. Also, it provides a way to disambiguate the context of the translation unit by looking at what other languages have used.</p>
<p>I&#8217;ve based my work on a <a href="http://bugs.locamotion.org/attachment.cgi?id=126" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');">previous patch</a> submitted by my mentor, and that has been a fantastic entry point for me, since I&#8217;ve been playing around something that more or less worked.</p>
<p>The feature has been extended in order to let users choose the preferred alternative language; this is a must have. Also, due to possible performance problems in big Pootle installations, an option to disable entirely the feature server-wide has been added.</p>
<p>Note that in order to use this feature for a specific project, there must exist the selected alternative source language in the project and the files must be translated, of course. The translation units that aren&#8217;t translated on the alternative language project won&#8217;t be displayed &mdash; there&#8217;s nothing to show.</p>
<p>There are some <a href="http://translate.sourceforge.net/wiki/pootle/alternative_source_language#known_issues" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="Known issues">pending issues</a> that should be addressed, though, for example giving support for plural forms. Anyhow, <strong>the feature has already been <a href="http://translate.svn.sourceforge.net/viewvc/translate?view=rev&#038;revision=7535" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.svn.sourceforge.net');" title="Revision 7535 - Commit log">included in trunk</a></strong> and if there aren&#8217;t major issues it will probably be released within the next Pootle version (1.2).</p>
<p>As there&#8217;s a Pootle server running the latest trunk code at <a href="http://beta.locamotion.org" onclick="javascript:pageTracker._trackPageview('/outbound/article/beta.locamotion.org');" title="Pootle beta server">http://beta.locamotion.org</a> you can test there the new feature. This server also has more improvements that you probably won&#8217;t notice, including the newly merged indexing branch which would speed up searches.</p>
<p>To learn more about this feature, please refer to the <a href="http://translate.sourceforge.net/wiki/pootle/alternative_source_language" onclick="javascript:pageTracker._trackPageview('/outbound/article/translate.sourceforge.net');" title="Alternative source language">documentation</a>.</p>
<h3>What&#8217;s next?</h3>
<p>Now I&#8217;ve started working on making it possible to <a href="http://bugs.locamotion.org/show_bug.cgi?id=427" onclick="javascript:pageTracker._trackPageview('/outbound/article/bugs.locamotion.org');" title="View suggestions made by others while translating">view translation suggestions while translating</a>. At the moment viewing suggestions is bound to the <code>View Suggestions</code> option which only displays the suggestions along with the current translation, but it&#8217;s not possible to edit translations at the same time.</p>
<p>I already have <a href="http://repo.or.cz/w/pootle.git?a=shortlog;h=refs/heads/view_suggestions" onclick="javascript:pageTracker._trackPageview('/outbound/article/repo.or.cz');" title="view_suggestions branch">advanced some work</a> on this, but there should be more incoming on the next few days. Stay tunned.</p>
]]></content:encoded>
			<wfw:commentRss>http://ertza.murgilduta.net/2008/06/24/status-update/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>First post in English</title>
		<link>http://ertza.murgilduta.net/2008/06/23/first-post-in-english/en/</link>
		<comments>http://ertza.murgilduta.net/2008/06/23/first-post-in-english/en/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 14:09:54 +0000</pubDate>
		<dc:creator>Julen</dc:creator>
		
		<category><![CDATA[ertzetik]]></category>

		<category><![CDATA[welcome]]></category>

		<guid isPermaLink="false">http://ertza.murgilduta.net/?p=64</guid>
		<description><![CDATA[This is my first post in English. I&#8217;ve setup the blog in multiple languages using Gengo for WordPress, mainly because I&#8217;m taking part in this years Summer of Code and I want to share my project progress and experience with everyone.
Welcome.
Oh, and probably you&#8217;re wondering what the hell ertza is; ertza means edge in Basque.
]]></description>
			<content:encoded><![CDATA[<p>This is my first post in English. I&#8217;ve setup the blog in multiple languages using <a href="http://wordpress.org/extend/plugins/gengo/download/" onclick="javascript:pageTracker._trackPageview('/outbound/article/wordpress.org');" title="Gengo">Gengo for WordPress</a>, mainly because I&#8217;m taking part in this years <a href="http://code.google.com/soc/2008" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');">Summer of Code</a> and I want to share <a href="http://code.google.com/soc/2008/translate/appinfo.html?csaid=90589421040411BE" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');" title="Effective user experience for Pootle">my project</a> progress and experience with everyone.</p>
<p>Welcome.</p>
<p>Oh, and probably you&#8217;re wondering what the hell <em>ertza</em> is; <em>ertza</em> means edge in Basque.</p>
]]></content:encoded>
			<wfw:commentRss>http://ertza.murgilduta.net/2008/06/23/first-post-in-english/en/feed/en/</wfw:commentRss>
		</item>
	</channel>
</rss>
