<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Building a Bilingual WordPress CMS	</title>
	<atom:link href="https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/</link>
	<description>Tales from a down-shifted family - Making the most of modest means in West Wales</description>
	<lastBuildDate>Thu, 15 Nov 2012 14:42:41 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Daniel		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-21975</link>

		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Thu, 15 Nov 2012 14:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-21975</guid>

					<description><![CDATA[Great job. The problem is that the link is displayed also in taxonomy and categories if there is a post with a meta_value for â€˜Alt_Lang_IDâ€™.]]></description>
			<content:encoded><![CDATA[<p>Great job. The problem is that the link is displayed also in taxonomy and categories if there is a post with a meta_value for â€˜Alt_Lang_IDâ€™.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alopex		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-21972</link>

		<dc:creator><![CDATA[Alopex]]></dc:creator>
		<pubDate>Wed, 14 Nov 2012 08:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-21972</guid>

					<description><![CDATA[Sorry. It was a dump question!

I think it would be: 

&#060;?php
$alt_lang_link == &#039;&#039;; // Reset the link
//Only add the link if an alternative page is specified
if ($alt_lang_id[&#039;meta_value&#039;] != &#039;&#039;) {$alt_lang_link = $alt_lang_id[&#039;meta_value&#039;];}
if(isset($alt_lang_link))
{echo &#039;English &#187;&#039;; }

else
{echo &#039;English &#187;&#039;; }

?&#062;]]></description>
			<content:encoded><![CDATA[<p>Sorry. It was a dump question!</p>
<p>I think it would be: </p>
<p>&lt;?php<br />
$alt_lang_link == &#039;&#039;; // Reset the link<br />
//Only add the link if an alternative page is specified<br />
if ($alt_lang_id[&#039;meta_value&#039;] != &#039;&#039;) {$alt_lang_link = $alt_lang_id[&#039;meta_value&#039;];}<br />
if(isset($alt_lang_link))<br />
{echo &#039;English &raquo;&#8217;; }</p>
<p>else<br />
{echo &#8216;English &raquo;&#8217;; }</p>
<p>?&gt;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alopex		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-21971</link>

		<dc:creator><![CDATA[Alopex]]></dc:creator>
		<pubDate>Wed, 14 Nov 2012 08:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-21971</guid>

					<description><![CDATA[Hi Alan,

Excellent tutorial. Can you please explain how to modify this script in order to show a default link (eg. the home page) when there is no alternative page specified in the custom field?

regards
Alopex]]></description>
			<content:encoded><![CDATA[<p>Hi Alan,</p>
<p>Excellent tutorial. Can you please explain how to modify this script in order to show a default link (eg. the home page) when there is no alternative page specified in the custom field?</p>
<p>regards<br />
Alopex</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alan		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-21055</link>

		<dc:creator><![CDATA[Alan]]></dc:creator>
		<pubDate>Wed, 08 Feb 2012 17:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-21055</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-21041&quot;&gt;Jormungand&lt;/a&gt;.

Good question, and I&#039;m not sure of the answer... I don&#039;t use categories on the site that I&#039;ve used this Bilingual technique on, so I haven&#039;t really tried a way of doing it. Someone else might have though?

Sorry,
Al.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-21041">Jormungand</a>.</p>
<p>Good question, and I&#8217;m not sure of the answer&#8230; I don&#8217;t use categories on the site that I&#8217;ve used this Bilingual technique on, so I haven&#8217;t really tried a way of doing it. Someone else might have though?</p>
<p>Sorry,<br />
Al.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jormungand		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-21041</link>

		<dc:creator><![CDATA[Jormungand]]></dc:creator>
		<pubDate>Wed, 01 Feb 2012 23:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-21041</guid>

					<description><![CDATA[Thank you very much for the tutorial, it works like a charm... but I have one question:

What can we do to link categories in different languages since they don&#039;t have custom fields?]]></description>
			<content:encoded><![CDATA[<p>Thank you very much for the tutorial, it works like a charm&#8230; but I have one question:</p>
<p>What can we do to link categories in different languages since they don&#8217;t have custom fields?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alan		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-20634</link>

		<dc:creator><![CDATA[Alan]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 05:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-20634</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-20633&quot;&gt;Mario&lt;/a&gt;.

Yep, I guess that would work too, but I&#039;d still need to create a separate theme for each language as well and would still have the issue of linking one post / page in one language to the same post / page in the other language. I&#039;d imagine this would still have to be done manually by the administrators of each language as each database would end up with its own post ids etc.. This is even more pronounced when using title based permalinks as the titles are obviously different from one language to another.

One installation and 2 databases may have certain advantages, but having two installations was just as easy. The main issue was linking posts and pages from one language to the same posts and pages of the other language, which is where using the Custom Fields came in. I think I&#039;d still need to do that with your solution anyway?

Al.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-20633">Mario</a>.</p>
<p>Yep, I guess that would work too, but I&#8217;d still need to create a separate theme for each language as well and would still have the issue of linking one post / page in one language to the same post / page in the other language. I&#8217;d imagine this would still have to be done manually by the administrators of each language as each database would end up with its own post ids etc.. This is even more pronounced when using title based permalinks as the titles are obviously different from one language to another.</p>
<p>One installation and 2 databases may have certain advantages, but having two installations was just as easy. The main issue was linking posts and pages from one language to the same posts and pages of the other language, which is where using the Custom Fields came in. I think I&#8217;d still need to do that with your solution anyway?</p>
<p>Al.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mario		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-20633</link>

		<dc:creator><![CDATA[Mario]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 01:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-20633</guid>

					<description><![CDATA[why not using 2 different databases with one installation.

if $_session[lang] == en  $database = wp_english
else $database = wp_german

first install the english, then copy the database and include the language link in the frontend. fill the content in both db&#039;s.

you can also modify then the admin with a menu to select the databases.

you can even go farther, that you select specific tables in dependence on the session language in just one database.]]></description>
			<content:encoded><![CDATA[<p>why not using 2 different databases with one installation.</p>
<p>if $_session[lang] == en  $database = wp_english<br />
else $database = wp_german</p>
<p>first install the english, then copy the database and include the language link in the frontend. fill the content in both db&#8217;s.</p>
<p>you can also modify then the admin with a menu to select the databases.</p>
<p>you can even go farther, that you select specific tables in dependence on the session language in just one database.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alan		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-19698</link>

		<dc:creator><![CDATA[Alan]]></dc:creator>
		<pubDate>Mon, 13 Dec 2010 07:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-19698</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-19608&quot;&gt;Charlie&lt;/a&gt;.

Hi Charlie,
It seems to be woking perfectly at the moment. The site in question will have a couple of hundred pages so it isn&#039;t live yet as we&#039;re still waiting for some of the content and some of the translations but the bil-lingual side of things seems to be working well.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-19608">Charlie</a>.</p>
<p>Hi Charlie,<br />
It seems to be woking perfectly at the moment. The site in question will have a couple of hundred pages so it isn&#8217;t live yet as we&#8217;re still waiting for some of the content and some of the translations but the bil-lingual side of things seems to be working well.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Charlie		</title>
		<link>https://www.alananna.co.uk/blog/2010/11/building-a-bilingual-wordpress-cms/#comment-19608</link>

		<dc:creator><![CDATA[Charlie]]></dc:creator>
		<pubDate>Sat, 11 Dec 2010 17:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.alananna.co.uk/blog/?p=6381#comment-19608</guid>

					<description><![CDATA[I&#039;ve been testing different setups to get a bilingual WP site going. Did your solution work out?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been testing different setups to get a bilingual WP site going. Did your solution work out?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
