<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Script Solution &#187; qTranslate</title>
	<atom:link href="http://www.openscriptsolution.com/tag/qtranslate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.openscriptsolution.com</link>
	<description>... where solutions for script programming are found ...</description>
	<lastBuildDate>Thu, 29 Jul 2010 07:48:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adjust PS Auto Sitemap v1.1.3 with qTranslate v2.4.3 Plugins</title>
		<link>http://www.openscriptsolution.com/2009/09/08/adjust-ps-auto-sitemap-v1-1-3-with-qtranslate-v2-4-3-plugins/</link>
		<comments>http://www.openscriptsolution.com/2009/09/08/adjust-ps-auto-sitemap-v1-1-3-with-qtranslate-v2-4-3-plugins/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 04:26:07 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[adjust]]></category>
		<category><![CDATA[compatible]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[qTranslate]]></category>
		<category><![CDATA[site map]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=241</guid>
		<description><![CDATA[Today I installed and used PS Auto Sitemap plugin for this website. It is a plugin that automatically generates a site map page from your WordPress site. Easy to install for beginners and easy to customize for experts. You may change the settings of the display of the lists from administration page. Several neat CSS [...]]]></description>
			<content:encoded><![CDATA[<p>Today I installed and used <a href="http://wordpress.org/extend/plugins/ps-auto-sitemap/" target="_blank">PS Auto Sitemap</a> plugin for this website. It is a plugin that automatically generates a site map page from your WordPress site. Easy to install for beginners and easy to customize for experts. You may change the settings of the display of the lists from administration page. Several neat CSS skins for the site map tree also available. Since I also used <a href="http://www.qianqin.de" target="_blank">qTranslate plugin</a> for translating the content of my website, then I had to modify the script belongs to the PS Auto Sitemap plugin in order to be able displaying its content according to the current active language. Especially in the part of code for displaying the post title. Only small change, indeed. <span id="more-241"></span></p>
<p>Open <strong>ps_auto_sitemap.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>233
234
235
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">   <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$category_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$post</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #000088;">$post_list_in_category</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\t</span>&quot;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;li class=&quot;post-item post-item-'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ID'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ID'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; title=&quot;'</span> <span style="color: #339933;">.</span> attribute_escape<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'post_title'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span> <span style="color: #339933;">.</span> wp_specialchars<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'post_title'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>233
234
235
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">   <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$category_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$post</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #000088;">$post_list_in_category</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\t</span>&quot;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;li class=&quot;post-item post-item-'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ID'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ID'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; title=&quot;'</span> <span style="color: #339933;">.</span> attribute_escape<span style="color: #009900;">&#40;</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'post_title'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span> <span style="color: #339933;">.</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'post_title'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>There was one special note that important to know (for those of you who have just used this plugin for the very first time). Perhaps, you will get confused (actually, this was also happened to me) when you see this plugin&#8217;s setting from admin panel. There is a <strong>PostID of the sitemap</strong> directive there. PostID here has the meaning as Page ID that you have to created first, since this site map content would be located on that page. I suggest to the author of this plugin, IMHO it would be better if we called it as <strong>PageID</strong> instead of <strong>PostID</strong>.</p>
<p>Now, let us back again to the main topic. After you create a new page, then please add this tag in the page content, while you are in HTML mode:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;!-- SITEMAP CONTENT REPLACE POINT --&gt;</pre></div></div>

<p>and then save this page. Afterwards, go to the list of your pages in admin panel. You will see from your list of the pages, the ID number of that new page you have just added. Enter that page ID to the <strong>PostID of the sitemap</strong>, and your site map is ready to use! That&#8217;s so simple, right?</p>
<p>This has been tested and working good in <strong>PS Auto Sitemap version 1.1.3</strong> and <strong>qTranslate version 2.4.3</strong>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/09/08/adjust-ps-auto-sitemap-v1-1-3-with-qtranslate-v2-4-3-plugins/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Adjust MicroKid Related Posts v2.4 with qTranslate v2.4.3 Plugins</title>
		<link>http://www.openscriptsolution.com/2009/09/07/adjust-microkid-related-posts-v2-4-with-qtranslate-v2-4-3-plugins/</link>
		<comments>http://www.openscriptsolution.com/2009/09/07/adjust-microkid-related-posts-v2-4-with-qtranslate-v2-4-3-plugins/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 10:46:15 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[MicroKid]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[qTranslate]]></category>
		<category><![CDATA[Related Posts]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=213</guid>
		<description><![CDATA[Today, I received one notification about the update available for MicroKid Related Posts plugin that I have been using it since version 2.3. It was changed from 2.3 to 2.4. According to its change log, there were 4 main things that changed:

 You can now add drafts and planned posts as related posts, without them [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I received one notification about the update available for <a href="http://www.microkid.net/wordpress/related-posts/" target="_blank">MicroKid Related Posts</a> plugin that I have been using it since version 2.3. It was changed from 2.3 to 2.4. According to its change log, there were 4 main things that changed:</p>
<ol>
<li> You can now add drafts and planned posts as related posts, without them appearing on your site before they are properly published.</li>
<li> Added shortcode support: you can now place the [ related-posts ] shortcode within the content of your post to display the related posts anywhere you want.</li>
<li> (For advanced users) Added a parameter to the MRP_get_related_posts function to optionally get the related posts in an object, so you can easily use it in other plugins or your own custom way of displaying the list of related posts. For documentation on this, see [the API section](http://www.microkid.net/wordpress/related-posts/#API “Microkids Related Posts API functions”).</li>
<li> (For advanced users) Added a parameter to the MRP_get_related_posts function to optionally include unpublished posts to the related posts list. For documentation on this, see [the API section](http://www.microkid.net/wordpress/related-posts/#API “Microkids Related Posts API functions”).</li>
</ol>
<p><span id="more-213"></span></p>
<p>After the automatically-upgrade process was completed, I remembered that I had modified this Microkids Related Post plugin before via this article: <a href="http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins/" target="_blank">Adjust MicroKid Related Posts v2.3 with qTranslate v2.4.3 Plugins</a>. It meant that I had to adjust its new script again in order it compatible with <a href="http://wordpress.org/extend/plugins/qtranslate/" target="_blank">qTranslate plugin</a>.</p>
<p>So here was I made:</p>
<ol>
<li>Open <strong>mrp-search.php</strong> file, find this code:

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>52
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$results</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>52
53
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$results</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>60
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>60
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// echo $result-&gt;post_title;</span></pre></td></tr></table></div>

<p>find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>64
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/a&gt; &lt;a href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; title=&quot;View this post&quot; class=&quot;MRP_view_post&quot; target=&quot;_blank&quot;&gt;&amp;rsaquo;&lt;/a&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>64
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$related_post_title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt; &lt;a href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; title=&quot;View this post&quot; class=&quot;MRP_view_post&quot; target=&quot;_blank&quot;&gt;&amp;rsaquo;&lt;/a&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then save this file.</li>
<li>Open <strong>microkids-related-posts.php</strong> file, and find this code:

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>104
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;li id=&quot;related-post-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$related_post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;&lt;span&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$post_title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/span&gt;&lt;span&gt;&lt;a class=&quot;MRP_deletebtn&quot; onclick=&quot;MRP_remove_relationship(\'related-post-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$related_post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'\')&quot;&gt;X&lt;/a&gt;&lt;/span&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>104
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;li id=&quot;related-post-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$related_post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;&lt;span&gt;'</span><span style="color: #339933;">.</span>wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/span&gt;&lt;span&gt;&lt;a class=&quot;MRP_deletebtn&quot; onclick=&quot;MRP_remove_relationship(\'related-post-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$related_post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'\')&quot;&gt;X&lt;/a&gt;&lt;/span&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>328
329
330
331
332
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;ul&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> title=<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$related_post_title</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$related_post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;/ul&gt;&lt;/div&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>328
329
330
331
332
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;ol&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> title=<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$related_post_title</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span>wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$related_post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;/ol&gt;&lt;/div&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>375
376
377
378
379
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;ul&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> title=<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$related_post_title</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$related_post_title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;/ul&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>375
376
377
378
379
380
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;ol&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> title=<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$related_post_title</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span>wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$related_post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;/ol&gt;
&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

</li>
</ol>
<p>This has been tested and working good in Microkids Related Posts version 2.4 and qTranslate version 2.4.3.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/09/07/adjust-microkid-related-posts-v2-4-with-qtranslate-v2-4-3-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Translate Your Blog Title and Description Using qTranslate Plugin</title>
		<link>http://www.openscriptsolution.com/2009/09/05/how-to-translate-your-blog-title-and-description-using-qtranslate-plugin/</link>
		<comments>http://www.openscriptsolution.com/2009/09/05/how-to-translate-your-blog-title-and-description-using-qtranslate-plugin/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 10:22:14 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[description]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[qTranslate]]></category>
		<category><![CDATA[QuickTags]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=191</guid>
		<description><![CDATA[Since qTranslate plugin introduced its new feature about QuickTags, we can now translate our field content to another languages so easily. Simply just add this language tag &#91;:en&#93; for English translation at the beginning of your English field  content, and also add another language tag at the beginning of your field content that contains of [...]]]></description>
			<content:encoded><![CDATA[<p>Since <a href="http://wordpress.org/extend/plugins/qtranslate/" target="_blank">qTranslate plugin</a> introduced its new feature about <a href="http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&amp;t=385" target="_blank">QuickTags</a>, we can now translate our field content to another languages so easily. Simply just add this language tag <strong>&#91;:en&#93;</strong> for English translation at the beginning of your English field  content, and also add another language tag at the beginning of your field content that contains of the words or sentences in your language. At this moment, I will show you how to translate the blog title and description by adding the tags related to the languages that I use (English and Indonesian). <span id="more-191"></span></p>
<ol>
<li>Go to your admin panel, then click on <strong>Settings</strong> -&gt; <strong>General</strong></li>
<li>At the <strong>Blog Title</strong> directive, add the language tag. For example, your Blog Title is: <strong>My First Website</strong>. Change it become:<br />
<strong>&#91;:en&#93;My First Website&#91;:id&#93;Situs Pertamaku</strong></li>
<li>At the <strong>Tagline</strong> directive, also add the language tag. For example, your Tagline is: <strong>This is my first website. </strong>Change it become:<br />
<strong>&#91;:en&#93;This is my first website&#91;:id&#93;Ini situs pertamaku</strong></li>
<li>Save your settings by click on <strong>Save Changes</strong> button at the bottom of the page.</li>
</ol>
<p>Now, when you choose English as the current language from your language selector, then it will show you as:</p>
<p><strong>My First Website<br />
This is my first website</strong></p>
<p>and when you switch its language become Indonesian language, it will show you as:</p>
<p><strong>Situs Pertamaku<br />
Ini situs pertamaku</strong></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/09/05/how-to-translate-your-blog-title-and-description-using-qtranslate-plugin/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Comparing Translation Plugin: qTranslate vs WPML</title>
		<link>http://www.openscriptsolution.com/2009/08/30/comparing-translation-plugin-qtranslate-vs-wpml/</link>
		<comments>http://www.openscriptsolution.com/2009/08/30/comparing-translation-plugin-qtranslate-vs-wpml/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 14:13:32 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[comparing]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[qTranslate]]></category>
		<category><![CDATA[translation]]></category>
		<category><![CDATA[WPML]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=165</guid>
		<description><![CDATA[Another WordPress plugin that has functionality for translating the content of your website besides qTranslate is WPML.  qTranslate stores all languages alternatives for each post in the same post, whereas WPML manages multilingual posts in one post per language. Translations in WPML are then linked together, indicating that one page is the translation of another.  [...]]]></description>
			<content:encoded><![CDATA[<p>Another WordPress plugin that has functionality for translating the content of your website besides <a href="http://wordpress.org/extend/plugins/qtranslate/" target="_blank">qTranslate</a> is <a href="http://wordpress.org/extend/plugins/sitepress-multilingual-cms/" target="_blank">WPML</a>.  qTranslate stores all languages alternatives for each post in the same post, whereas WPML manages multilingual posts in one post per language. Translations in WPML are then linked together, indicating that one page is the translation of another.  Each of this plugin has advantages and disadvantages. <span id="more-165"></span></p>
<p>Here is the comparison between <strong>qTranslate</strong> and <strong>WPML</strong>:</p>
<p>Advantages of WPML:</p>
<ol>
<li>The database contents for posts remain unmodified (easy install and uninstall).</li>
<li>Everything gets translated by default. If a post includes custom fields, they&#8217;re attached to that post, so they are already associated with the language.</li>
<li>Other plugins that analyze contents (like related posts) keep working correctly.</li>
</ol>
<p>Disadvantages of WPML:</p>
<ol>
<li>More complex architecture. The plugin needs to hook to many WordPress functions and filter them so that only contents that matches the language is returned.</li>
<li>Additional tables are required &#8211; normally, to hold the translation grouping.</li>
</ol>
<p>Advantage of qTranslate:</p>
<ol>
<li>Side by side editing is easily implemented.</li>
<li>Less things to break. There are no additional tables and much fewer things to modify in WordPress.</li>
</ol>
<p>Disadvantages of qTranslate:</p>
<ol>
<li>In order to create multilingual contents, the user needs to insert the language tags manually, to everything the plugin doesn&#8217;t hook to. Example: <a href="http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-with-qtranslate-plugins/" target="_blank">Adjust MicroKid Related Posts with qTranslate Plugins</a></li>
<li>Uninstall can be complicated, as the database needs to be cleaned from multilingual contents.</li>
</ol>
<p>Choosing the most suitable multilingual Plugin for your needs will take some time.</p>
<p>In any case, installing a multilingual plugin is a big change for any site. It would be a good idea to first create a test site and verify that everything works correctly between all the required plugins and the theme and only then install.</p>
<p>Since any multilingual plugin changes the database significantly, doing a database backup is required before experimenting. Have a nice test!</p>
<p>Credits: <a href="http://codex.wordpress.org/Multilingual_WordPress" target="_blank"><strong>Multilingual WordPress</strong></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/08/30/comparing-translation-plugin-qtranslate-vs-wpml/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Adjust MicroKid Related Posts v2.3 with qTranslate v2.4.3 Plugins</title>
		<link>http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins/</link>
		<comments>http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 14:44:53 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[adjust]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[MicroKid]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[qTranslate]]></category>
		<category><![CDATA[related]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=29</guid>
		<description><![CDATA[I have been using qTranslate plugins for the last two days. I love this plugins so much since it is a simple plugins, yet easy to use and also has the powerful feature until now, especially when I edit or add the new post. Simply click the tab regarding to the language you want. If [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using <a href="http://wordpress.org/extend/plugins/qtranslate/" target="_blank"><strong>qTranslate</strong></a> plugins for the last two days. I love this plugins so much since it is a simple plugins, yet easy to use and also has the powerful feature until now, especially when I edit or add the new post. Simply click the tab regarding to the language you want. If I compare with the other translate plugins, qTranslate is still the best, at least for me. <span id="more-29"></span></p>
<p>Today I started to use <a href="http://www.microkid.net/wordpress/related-posts/" target="_blank"><strong>MicroKid Related Posts</strong></a> plugins for displaying the Related Posts at the bottom of the post. Unfortunately, I found a little bit problem after I have succeeded to implement this plugins. What was that? Well, since the post title has been saved by qTranslate plugins in one field in wp_posts table for all active languages, then each time the post title displayed, it contains of the title post belong to those all languages, and there is no space between them.</p>
<p>For example: I already have a post with title in English &#8220;Welcome to My World&#8221; whereas in Indonesian language this has the meaning as &#8220;Selamat datang di Dunia Saya&#8221;. For those of you who has not tried this plugins, the value for the post_title field would be like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;!--:en--&gt;Welcome to My World&lt;!--:--&gt;&lt;!--:id--&gt;Selamat datang di Dunia Saya&lt;!--:--&gt;</pre></div></div>

<p>that is why when it displayed the result will become like this:</p>
<p>&#8220;<strong>Welcome to My WorldSelamat datang di Dunia Saya</strong>&#8221;</p>
<p>whereas between one title with another belongs to other language does not separated by space character, and I think this is something that looks like not so good.</p>
<p>When I search this post and then select this post title as related post for my new post, then the title of this related post will become: &#8220;Welcome to My WorldSelamat datang di Dunia Saya&#8221;. As you can see, that post_title being shown contains of the both active language; English and Indonesian. I think it would be better if it should be like this:</p>
<p><strong>Welcome to My World</strong> if the selected language is English,<br />
or:<br />
<strong>Selamat datang di Dunia Saya</strong> is the selected language is Indonesian.</p>
<p>This is an interested challenge for me. So I started to search the script related to this, and trying to make it came true.</p>
<p>So, here was I made:</p>
<p><strong>1.</strong> Open <strong>mrp-search.php</strong> file belongs to MicroKid Related Posts plugins, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>55
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$results</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>then replace with this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>55
56
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$results</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>also, find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>63
64
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt; &lt;a href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;
     title=&quot;View this post&quot; target=&quot;_blank&quot;&gt;&amp;rsaquo;&lt;/a&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>and replace with this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>63
64
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$related_post_title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt; &lt;a href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;
     title=&quot;View this post&quot; target=&quot;_blank&quot;&gt;&amp;rsaquo;&lt;/a&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>We have done with the mrp-search.php file.</p>
<p><strong>2.</strong> The next step is that we have to edit the code in <strong>microkids-related-posts.php</strong> file.<br />
Open the file and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>95
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>replace with this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>95
96
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$related_post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>also, find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>317
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>and replace with this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>317
318
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$related_post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then, find also this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>367
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>and replace with this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>367
368
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$related_post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>That&#8217;s all. Now the title post in <strong>Related Posts</strong> section will look better than before. You can see the result in the bottom of this post at the <strong>Related Posts</strong> section, when you display a post with full-mode.</p>
<p>This has been tested and working good in <strong>MicroKid Related Posts version 2.3</strong> and <strong>qTranslate version 2.4.3</strong>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to Make a Multi-Language Web Content Page</title>
		<link>http://www.openscriptsolution.com/2009/08/21/how-to-make-a-multi-language-web-content-page/</link>
		<comments>http://www.openscriptsolution.com/2009/08/21/how-to-make-a-multi-language-web-content-page/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 16:32:05 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[bahasa]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[halaman]]></category>
		<category><![CDATA[isi]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[multibahasa]]></category>
		<category><![CDATA[multilanguage]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[qTranslate]]></category>
		<category><![CDATA[situs]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[translasi]]></category>
		<category><![CDATA[translate]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=8</guid>
		<description><![CDATA[Today was the first time I used WordPress for building this website. I have been looking for a CMS that support for multi-language web content page. I need that each time my visitor read an article in full-mode and they choose one of the languages, then the content of that article will be translated to [...]]]></description>
			<content:encoded><![CDATA[<p>Today was the first time I used WordPress for building this website. I have been looking for a CMS that support for multi-language web content page. I need that each time my visitor read an article in full-mode and they choose one of the languages, then the content of that article will be translated to the new language. <span id="more-8"></span></p>
<p>Then after serveral hours surfing through the Internet, I found a WordPress plugins that has the ability to switch/translate the content of a page to the selected language. The plugins&#8217; name is <strong>qTranslate</strong> that you can find from here: <a title="qTranslate plugins" href="http://wordpress.org/extend/plugins/qtranslate/" target="_blank">http://wordpress.org/extend/plugins/qtranslate/</a> . I downloaded qTranslate version 2.4.3 that compatible with WordPress version 2.8.4 or later.</p>
<p>Incredible! This plugins is really useful as I have been looking for. The most important thing that I like from this plugins is: user will become easier while creating a new article, since there was new tabs as many as the language that being enabled or used. Therefore, we can switch from one to another tab to translate to the new language only from one form.</p>
<p>Another advantage that you get when you use this plugins is: every post for all active languages will be saved in one record. Thus, this will keep your database size smaller, than if every post for each language will be saved in separate record.</p>
<p>But, it has small weakness, especially if you deactivate this plugins after you have some posts that added or updated with this multi-language feature. The tag as I mentioned above will be displayed since it was located in one field. Therefore, if you want to use or currently using this qTranslate plugins, please reconsider not to deactivate it after you have posts that made with this plugins. Except if you want to spend your time to edit the field contains of that separator tag in database.</p>
<p>Now, I am starting to use WordPress, and had fallen in love with it since I knew and found this qTranslate plugins.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/08/21/how-to-make-a-multi-language-web-content-page/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
