<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.feedreader.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Feedreader.com - Translations in FeedReader - Comments</title>
 <link>http://www.feedreader.com/node/923</link>
 <description>Comments for &quot;Translations in FeedReader&quot;</description>
 <language>en</language>
<item>
 <title>That&#039;s too easy ;-)</title>
 <link>http://www.feedreader.com/node/923#comment-1843</link>
 <description>&lt;p&gt;Thanks for stopping by and helping me a bit. Are you by the way affiliated to the FeedReader dev team, if you don&#039;t mind my asking?&lt;/p&gt;
&lt;p&gt;I have the feeling that they use something different in FeedReader 3.&lt;br /&gt;
When I look at the translation files (UTF-8 encoded XML), all translated items have ids which sound/look like a hash of some sort (0000D882E53 for the first item) and the components in the FeedReader forms all have tag=0.&lt;br /&gt;
It could indicate something more sophisticated behind which I am really interested to hear more about if possible. Just to clarify things, it is something I would like to use for internationalizing/localizing a small application I made a while ago in Delphi 7.&lt;/p&gt;
&lt;p&gt;Thanks for your help. Much appreciated.&lt;/p&gt;
</description>
 <pubDate>Thu, 12 Apr 2007 22:24:22 +0300</pubDate>
 <dc:creator>Pipoman</dc:creator>
 <guid isPermaLink="false">comment 1843 at http://www.feedreader.com</guid>
</item>
<item>
 <title>The easyest way;
* each</title>
 <link>http://www.feedreader.com/node/923#comment-1842</link>
 <description>&lt;p&gt;The easyest way;&lt;br /&gt;
* each visual comp has uniq tagid&lt;/p&gt;
&lt;p&gt;procedure test(const pcomp : tcomponent);&lt;br /&gt;
var i : integer;&lt;br /&gt;
begin&lt;br /&gt;
 for i:=0 to pcomp.ComponentCount-1 do&lt;br /&gt;
  begin&lt;br /&gt;
  if (pcomp.Components[i].Tag=555) and (pcomp.Components[i] is TLabel) then&lt;br /&gt;
      TLabel(pcomp.Components[i]).Caption:=&#039;test&#039;;&lt;/p&gt;
&lt;p&gt;      test(pcomp.Components[i]);&lt;br /&gt;
  end;&lt;br /&gt;
end;&lt;/p&gt;
&lt;p&gt;.................&lt;br /&gt;
begin&lt;br /&gt;
 test(form1);&lt;br /&gt;
end;&lt;/p&gt;
&lt;p&gt;Ingmar&lt;/p&gt;
</description>
 <pubDate>Thu, 12 Apr 2007 14:15:29 +0300</pubDate>
 <dc:creator>ingmar</dc:creator>
 <guid isPermaLink="false">comment 1842 at http://www.feedreader.com</guid>
</item>
<item>
 <title>Translations in FeedReader</title>
 <link>http://www.feedreader.com/node/923</link>
 <description>&lt;p&gt;Even though FeedReader has now gone closed source, I am &lt;strong&gt;very&lt;/strong&gt; interested in the way you handle translations in the FeedReader 3 source code (Delphi 7 as far as I know).&lt;/p&gt;
&lt;p&gt;I don&#039;t know how you feel about that, or even if you are willing to share anything, but I definitely like your approach (separate UTF-8 encoded XML files, switch language at runtime and reassign all captions/hints/strings (RTTI perhaps?) etc.). I am facing a similar challenge, and this is precisely how I would do it but as always time is precious. I would be really grateful if I could get some examples/code snippets from you on this matter. I hope you can help me on that one, but of course it&#039;s up to you.&lt;/p&gt;
&lt;p&gt;Anyway, thanks for FeedReader...&lt;/p&gt;
&lt;div class=&quot;forum-topic-navigation&quot;&gt;&lt;a href=&quot;/node/930&quot; class=&quot;topic-previous&quot; title=&quot;Go to previous forum topic&quot;&gt;‹ last GPL licenced sources?&lt;/a&gt; &lt;a href=&quot;/node/795&quot; class=&quot;topic-next&quot; title=&quot;Go to next forum topic&quot;&gt;Feedreader 3.09 development release ›&lt;/a&gt;&lt;br class=&quot;clear&quot; /&gt;&lt;/div&gt;</description>
 <comments>http://www.feedreader.com/node/923#comment</comments>
 <category domain="http://www.feedreader.com/taxonomy/term/12">Development</category>
 <pubDate>Wed, 11 Apr 2007 20:32:09 +0300</pubDate>
 <dc:creator>Pipoman</dc:creator>
 <guid isPermaLink="false">923 at http://www.feedreader.com</guid>
</item>
</channel>
</rss>
