<?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>Amphibious Thoughts &#187; Wordpress</title>
	<atom:link href="http://amphibiousthoughts.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://amphibiousthoughts.com</link>
	<description></description>
	<lastBuildDate>Sun, 01 Jan 2012 12:26:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>WordPress multilingual</title>
		<link>http://amphibiousthoughts.com/blog/wordpress-zweisprachigwordpress-multilingual</link>
		<comments>http://amphibiousthoughts.com/blog/wordpress-zweisprachigwordpress-multilingual#comments</comments>
		<pubDate>Wed, 11 Mar 2009 10:37:58 +0000</pubDate>
		<dc:creator>user</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://amphibiousthoughts.com/?p=425</guid>
		<description><![CDATA[I first tried to make this page multilingual by using simple wordpress template tags. Its pretty easy: I created a category &#8220;en&#8221; in which i created all the english versions of my categories. I wrote two versions of the same post, in english and german, and left them in the english and german category.  Then [...]]]></description>
			<content:encoded><![CDATA[<p>I first tried to make this page multilingual by using simple wordpress template tags. Its pretty easy:<span id="more-425"></span></p>
<p>I created a category &#8220;en&#8221; in which i created all the english versions of my categories. I wrote two versions of the same post, in english and german, and left them in the english and german category.  Then i filtered the sidebar menu according to the language category you&#8217;re looking at. Looks more or less like this:</p>
<blockquote><p>&lt;li&gt;<br />
&lt;?php /* Felix Language Switch */ if (is_category(50) || (in_category(50))) {<br />
echo &#8216;&lt;a href=&#8221;http://test.amphibiousthoughts.com&#8221;&gt;german version&lt;/a&gt;&#8217; ;<br />
} else {<br />
echo &#8216;&lt;a href=&#8221;http://test.amphibiousthoughts.com/news&#8221;&gt;english version&lt;/a&gt;&#8217; ;<br />
}<br />
?&gt;<br />
&lt;/li&gt;</p>
<p>&lt;li&gt;<br />
&lt;?php /* Felix Custom Categories */ if (is_category(50) || (in_category(50))) {</p>
<p>wp_list_categories(&#8216;include=54,55,56,57,58,59,60,61,62&amp;orderby=ID&amp;show_count=1&amp;title_li=&lt;h2&gt;Categories&lt;/h2&gt;&#8217;);<br />
} else {<br />
wp_list_categories(&#8216;exclude=50&amp;orderby=ID&amp;show_count=1&amp;title_li=&lt;h2&gt;Kategorien&lt;/h2&gt;&#8217;);<br />
}<br />
?&gt;</p>
<p>&lt;/li&gt;</p>
<p>&lt;li&gt;<br />
&lt;?php /* Tags or not */ if (is_category(50) || (in_category(50))) {</p>
<p>} else {<br />
echo &#8216;&lt;h2&gt;Tags&lt;/h2&gt; &#8216;;   /* Felix Custom Tags */ wp_tag_cloud(&#8216;title_li=&lt;h2&gt;Tags&lt;/h2&gt;&#8217;);<br />
}<br />
?&gt;<br />
&lt;/li&gt;</p>
</blockquote>
<p>Drawback of this solution:</p>
<p>Widgets like MyCaregoryOrder wont work and as you can see one language has to do without tags. I haven&#8217;t found out how to filter them out yet. Also, you really have to do everything twice. So, after spending 3 days with the wordpress reference finding out how the code works, I decided to use the QTranslate plugin. Installation and handling is as easy as you&#8217;d expect from any plugin and it has all the features I was looking for. Thanks :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://amphibiousthoughts.com/blog/wordpress-zweisprachigwordpress-multilingual/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

