<?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>mikwat code &#187; Uncategorized</title>
	<atom:link href="http://code.mikwat.com/archives/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://code.mikwat.com</link>
	<description>A coder's daily explorations through PHP, Java, CSS, JavaScript, Linux, OS X, Apache, Tomcat, and everything else.</description>
	<lastBuildDate>Tue, 08 Mar 2011 19:23:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Internationalize PHP Applications</title>
		<link>http://code.mikwat.com/archives/16</link>
		<comments>http://code.mikwat.com/archives/16#comments</comments>
		<pubDate>Thu, 19 Apr 2007 17:36:13 +0000</pubDate>
		<dc:creator>mikwat</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code.mikwat.com/archives/16</guid>
		<description><![CDATA[The other day it dawned on me that my hobby website, My Cycling Log, has a large international audience and that I should cater more to them. My Cycling Log is basically exactly what its name suggests: an online cycling log. It&#8217;s a place for cyclists to log their rides, share their achievements with their [...]]]></description>
			<content:encoded><![CDATA[<p>The other day it dawned on me that my hobby website, <a href="http://www.mycyclinglog.com" onclick="pageTracker._trackPageview('/outgoing/www.mycyclinglog.com?referer=');">My Cycling Log</a>, has a large international audience and that I should cater more to them.  My Cycling Log is basically exactly what its name suggests: an online cycling log.  It&#8217;s a place for cyclists to log their rides, share their achievements with their friends and the world, and organize themselves into groups.  The site is constantly evolving largely driven by user feedback.</p>
<p>My first step in making My Cycling Log friendlier for international users was to implement user-specific timezones.  This is a no brainer.  PHP handles timezones quite elegantly using the <a href="http://us2.php.net/manual/en/function.date-default-timezone-set.php" onclick="pageTracker._trackPageview('/outgoing/us2.php.net/manual/en/function.date-default-timezone-set.php?referer=');"><code>date_default_timezone_set</code></a> function.</p>
<p>The second step is to internationalize the text.  An article on IBM&#8217;s website lays it out very clearly: <a href="http://www-128.ibm.com/developerworks/library/os-php-intl/index.html" onclick="pageTracker._trackPageview('/outgoing/www-128.ibm.com/developerworks/library/os-php-intl/index.html?referer=');">How to internationalize PHP apps</a>.  I&#8217;m still looking for translators, but I will update this post once I begin the process.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.mikwat.com/archives/16/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

