<?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: Toggle web site language easily with PHP</title>
	<atom:link href="http://www.justin-cook.com/wp/2006/07/25/toggle-web-site-language-easily-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justin-cook.com/wp/2006/07/25/toggle-web-site-language-easily-with-php/</link>
	<description>A web, games, technology, programming and SEO blog by Justin Cook</description>
	<lastBuildDate>Wed, 04 Jan 2012 07:53:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: e11world</title>
		<link>http://www.justin-cook.com/wp/2006/07/25/toggle-web-site-language-easily-with-php/comment-page-1/#comment-156444</link>
		<dc:creator>e11world</dc:creator>
		<pubDate>Wed, 03 Feb 2010 00:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/07/25/toggle-web-site-language-easily-with-php/#comment-156444</guid>
		<description>I don&#039;t really understand how you are doing this. A sample would help but I think that I prefer to do it a different way but I just don&#039;t know how to do it.
I do like this but I prefer to do this a different way and I think it keeps files more organized but I&#039;m not sure how to do it. Perhaps someone can tell me.

I want to have each language files in their own folder (&lt;b&gt;en/&lt;/b&gt; and &lt;b&gt;fr/&lt;/b&gt;) for english and french for example. I want to be able to click on the image/text and have the page I&#039;m currently on change to the same page but in a different language. So essentially, we are just &lt;b&gt;changing the folder name from en to fr&lt;/b&gt;.
Can anyone please tell me how to do this? A sample site here but it&#039;s in ASP code (http://www.contacservices.com/)
Thank you in advance.</description>
		<content:encoded><![CDATA[<p>I don&#039;t really understand how you are doing this. A sample would help but I think that I prefer to do it a different way but I just don&#039;t know how to do it.<br />
I do like this but I prefer to do this a different way and I think it keeps files more organized but I&#039;m not sure how to do it. Perhaps someone can tell me.</p>
<p>I want to have each language files in their own folder (<b>en/</b> and <b>fr/</b>) for english and french for example. I want to be able to click on the image/text and have the page I&#039;m currently on change to the same page but in a different language. So essentially, we are just <b>changing the folder name from en to fr</b>.<br />
Can anyone please tell me how to do this? A sample site here but it&#039;s in ASP code (<a href="http://www.contacservices.com/" rel="nofollow">http://www.contacservices.com/</a>)<br />
Thank you in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lang</title>
		<link>http://www.justin-cook.com/wp/2006/07/25/toggle-web-site-language-easily-with-php/comment-page-1/#comment-155152</link>
		<dc:creator>Lang</dc:creator>
		<pubDate>Fri, 08 May 2009 15:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/07/25/toggle-web-site-language-easily-with-php/#comment-155152</guid>
		<description>Php can automate link generation, but such approach would need a lot of files (if you do not have modrewrite). You;ll have to create files for all the pages if you decide to add one more language one day.

IMHO much more flexible approach would be storing selected site language in a cookie, and use custom function to retrieve text in specified language from some array.</description>
		<content:encoded><![CDATA[<p>Php can automate link generation, but such approach would need a lot of files (if you do not have modrewrite). You;ll have to create files for all the pages if you decide to add one more language one day.</p>
<p>IMHO much more flexible approach would be storing selected site language in a cookie, and use custom function to retrieve text in specified language from some array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Travis Whitton</title>
		<link>http://www.justin-cook.com/wp/2006/07/25/toggle-web-site-language-easily-with-php/comment-page-1/#comment-152024</link>
		<dc:creator>Travis Whitton</dc:creator>
		<pubDate>Tue, 14 Oct 2008 20:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/07/25/toggle-web-site-language-easily-with-php/#comment-152024</guid>
		<description>The proper way to add internationalization to your PHP code is through the use of &lt;a href=&quot;http://us3.php.net/manual/en/book.gettext.php&quot; rel=&quot;nofollow&quot;&gt;Gettext&lt;/a&gt;. It&#039;s better to start things off the right way than incorporate a hack and have to go back and fix it later.</description>
		<content:encoded><![CDATA[<p>The proper way to add internationalization to your PHP code is through the use of <a href="http://us3.php.net/manual/en/book.gettext.php" rel="nofollow">Gettext</a>. It&#039;s better to start things off the right way than incorporate a hack and have to go back and fix it later.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
