<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1329: i18n poor in some templates - missing i18n tags</title>
    <link>http://localhost/ticket/1329</link>
    <description>&lt;p&gt;
Just a tip for developers regarding translations:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;When writing templates, mark &amp;lt;p&amp;gt;, &amp;lt;div&amp;gt;, etc elements with the
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
i18:msg attribute, otherwise the messages don't get extracted
properly.
&lt;/p&gt;
&lt;p&gt;
Good: &lt;a class="ext-link" href="https://bitbucket.org/okfn/ckan/src/1996b0439e81/ckan/templates/home/about.html#cl-40"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://bitbucket.org/okfn/ckan/src/1996b0439e81/ckan/templates/home/about.html#cl-40&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;&amp;lt;p i18n:msg=""&amp;gt;More about CKAN, and the background to its creation can
   be found in &amp;lt;a
     href="http://m.okfn.org/files/talks/opentech_20080705/"&amp;gt;these
     slides&amp;lt;/a&amp;gt;.&amp;lt;/p&amp;gt;
&lt;/pre&gt;&lt;p&gt;
gives this:
&lt;a class="ext-link" href="https://bitbucket.org/okfn/ckan/src/1996b0439e81/ckan/i18n/ca/LC_MESSAGES/ckan.po#cl-1238"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://bitbucket.org/okfn/ckan/src/1996b0439e81/ckan/i18n/ca/LC_MESSAGES/ckan.po#cl-1238&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Bad: &lt;a class="ext-link" href="https://bitbucket.org/okfn/ckan/src/1996b0439e81/ckan/templates/package/new_package_form.html#cl-211"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://bitbucket.org/okfn/ckan/src/1996b0439e81/ckan/templates/package/new_package_form.html#cl-211&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;&amp;lt;p class="hints"&amp;gt;
&amp;lt;strong&amp;gt;Important:&amp;lt;/strong&amp;gt; By submitting content, you agree to
release your contributions
 under the &amp;lt;a href="http://opendatacommons.org/licenses/odbl/1.0/"&amp;gt;Open
Database License&amp;lt;/a&amp;gt;. Please &amp;lt;strong&amp;gt;refrain&amp;lt;/strong&amp;gt; from editing
this page if you are &amp;lt;strong&amp;gt;not&amp;lt;/strong&amp;gt; happy to do this.
&amp;lt;/p&amp;gt;
&lt;/pre&gt;&lt;p&gt;
gives this:
&lt;a class="ext-link" href="https://bitbucket.org/okfn/ckan/src/1996b0439e81/ckan/i18n/ca/LC_MESSAGES/ckan.po#cl-1384"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://bitbucket.org/okfn/ckan/src/1996b0439e81/ckan/i18n/ca/LC_MESSAGES/ckan.po#cl-1384&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The message is split in different parts that not necessarily match the
grammar or syntax of the translated language.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1329</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>zephod</dc:creator>

      <pubDate>Wed, 21 Sep 2011 16:53:46 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1329#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1329#comment:1</guid>
      <description>
        &lt;p&gt;
I've tried to do this wherever I could as I looked through ckan.pot for broken pieces of string. Generally it triggers errors unless things are very neatly structured (no nested links or ${a.variable} accesses, it seems) but things are quite a lot tidier.
cset:d5bf4c7ba293
Does that count as 'fixed', or is this a permenant issue?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Tue, 27 Sep 2011 10:12:03 GMT</pubDate>
      <title>status changed; owner set</title>
      <link>http://localhost/ticket/1329#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1329#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;dread&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I'll take a look to see if I can do any more and then will close it.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Fri, 30 Sep 2011 17:42:46 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1329#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1329#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
POT looks far better. I couldn't see any outstanding problems.
&lt;/p&gt;
&lt;p&gt;
This has gone into ckan 1.5.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>