<?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>Technitribe &#187; locales fix slicehost ubuntu</title>
	<atom:link href="http://blog.peopleareducks.com/tag/locales-fix-slicehost-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.peopleareducks.com</link>
	<description>not at all like a diatribe</description>
	<lastBuildDate>Sat, 27 Mar 2010 01:00:48 +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>Fixing my missing locales</title>
		<link>http://blog.peopleareducks.com/2009/08/13/fixing-my-missing-locales/</link>
		<comments>http://blog.peopleareducks.com/2009/08/13/fixing-my-missing-locales/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 01:18:11 +0000</pubDate>
		<dc:creator>tbielawa</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[locales fix slicehost ubuntu]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=20</guid>
		<description><![CDATA[Background: I run this server through Slicehost, and I enjoy their service immensely. When you set up your first server, or rebuild an existing server you get a very minimal GNU/Linux system installed. For obvious reasons, I like this a lot too.
The problem: Both the first time I built this server, and most recently when [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Background:</strong> I run this server through <a href="http://slicehost.com" target="_blank">Slicehost</a>, and I enjoy their service immensely. When you set up your first server, or rebuild an existing server you get a very minimal GNU/Linux system installed. For obvious reasons, I like this a lot too.</p>
<p><strong>The problem:</strong> Both the first time I built this server, and most recently when I rebuilt it to Jaunty Jackalope, the system locales weren&#8217;t configured. I understand why this is done, that it happens doesn&#8217;t bother me. That I had a hard time finding out how to properly set my locale frustrated me a little bit.</p>
<p><strong>How do you know</strong> if your locales aren&#8217;t correctly defined? On my Jaunty Jackalope system I see messages like this:</p>
<blockquote>
<pre>locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default
locale: No such file or directory</pre>
</blockquote>
<p>I tried running <strong>dpkg-reconfigure locales</strong>, but that had no effect. Searching the Internet for the messages above provided a couple of possible solutions, but none of them looked like anything I was interested in. I&#8217;m a firm believer that if the Internet tells me to run a command with more than a couple of options, that it may work, but there is probably an easier, less cryptic solution. For example:</p>
<blockquote>
<pre>localedef -v -c -i en_US -f UTF-8 en_US.UTF-8</pre>
</blockquote>
<p>No way I&#8217;m running that. I instead searched for &#8220;slicehost locale&#8221; and found this article: <a href="http://articles.slicehost.com/2008/4/25/ubuntu-hardy-setup-page-2" target="_blank">Ubuntu Hardy setup</a>. I enjoy this much more:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">locale-gen en_US.UTF-<span style="color: #000000;">8</span>
&nbsp;
update-locale <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span></pre></div></div>

<p>Turns out that update-locale is a Debian/Ubuntu specific command. It update your systems default locale setting file. I had checked for one before running it and found that none existed yet on my system. After running those two commands above I found one had been created with &#8220;LANG=en_US.UTF-8&#8243; in it. It&#8217;s possible that running update-locale could have been all I needed to do to begin with.</p>
<p>I hope this helps some one else whose had this problem before or for the first time.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.peopleareducks.com/2009/08/13/fixing-my-missing-locales/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
