<?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: How to select and generate locales on Ubuntu</title>
	<atom:link href="http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html</link>
	<description>Ubuntu Linux Tutorials,Howtos,Tips &#38; News &#124; Oneiric,Natty,Maverick</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Viðarr</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-91017</link>
		<dc:creator>Viðarr</dc:creator>
		<pubDate>Sun, 06 Feb 2011 20:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-91017</guid>
		<description>The file named &quot;local&quot; in the aforementioned folder contained en_US.UTF-8 for me. But I noticed that it was also re-generating the locales for all other English configurations, so I *removed* the file named &quot;en&quot; and ran &quot;dpkg-reconfigure locales&quot; and all others are gone now.

I had not noticed that before, but I had thought that only en_US.UTF-8 was configured.

This was on 10.10.</description>
		<content:encoded><![CDATA[<p>The file named &#8220;local&#8221; in the aforementioned folder contained en_US.UTF-8 for me. But I noticed that it was also re-generating the locales for all other English configurations, so I *removed* the file named &#8220;en&#8221; and ran &#8220;dpkg-reconfigure locales&#8221; and all others are gone now.</p>
<p>I had not noticed that before, but I had thought that only en_US.UTF-8 was configured.</p>
<p>This was on 10.10.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-55495</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 31 Oct 2010 08:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-55495</guid>
		<description>There is a package for Ubuntu that can take care of removing locales and locale related files (e.g. man pages): localepurge

You can install/run it issueing:

sudo apt-get install localepurge

For more information see
http://pwet.fr/man/linux/administration_systeme/localepurge
https://help.ubuntu.com/community/LocaleConf

What also should help to understand which files are involved is running locale in verbode mode:

locale -a -v

It shows that all generate locales are located in /usr/lib/locale/, which you may remove if unneeded.

If error messages are displayed when issuing the locale command, e.g.

locale: Cannot set LC_ALL to default locale: No such file or directory

… make sure the file /etc/default/locales exists and has content similar to this:

LANG=&quot;en_US&quot;
LANGUAGE=&quot;en_US:en&quot;

Essentially, what I did to clean up my locales is:

1. Removed all unneeded locales from /var/lib/locales/supported.d/en
2. Create /etc/default/locales (with content as above)
3. Delete all generated locale data: rm -rfv /usr/lib/locale/*
4. Re-generate new locales: locale-gen

Good luck!</description>
		<content:encoded><![CDATA[<p>There is a package for Ubuntu that can take care of removing locales and locale related files (e.g. man pages): localepurge</p>
<p>You can install/run it issueing:</p>
<p>sudo apt-get install localepurge</p>
<p>For more information see<br />
<a href="http://pwet.fr/man/linux/administration_systeme/localepurge" rel="nofollow">http://pwet.fr/man/linux/administration_systeme/localepurge</a><br />
<a href="https://help.ubuntu.com/community/LocaleConf" rel="nofollow">https://help.ubuntu.com/community/LocaleConf</a></p>
<p>What also should help to understand which files are involved is running locale in verbode mode:</p>
<p>locale -a -v</p>
<p>It shows that all generate locales are located in /usr/lib/locale/, which you may remove if unneeded.</p>
<p>If error messages are displayed when issuing the locale command, e.g.</p>
<p>locale: Cannot set LC_ALL to default locale: No such file or directory</p>
<p>… make sure the file /etc/default/locales exists and has content similar to this:</p>
<p>LANG=&#8221;en_US&#8221;<br />
LANGUAGE=&#8221;en_US:en&#8221;</p>
<p>Essentially, what I did to clean up my locales is:</p>
<p>1. Removed all unneeded locales from /var/lib/locales/supported.d/en<br />
2. Create /etc/default/locales (with content as above)<br />
3. Delete all generated locale data: rm -rfv /usr/lib/locale/*<br />
4. Re-generate new locales: locale-gen</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-55492</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 31 Oct 2010 08:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-55492</guid>
		<description>There is a package for Ubuntu that can take care of removing locales and locale related files (e.g. man pages): localepurge

You can install/run it issueing:
  sudo apt-get install localepurge

For more information see
http://pwet.fr/man/linux/administration_systeme/localepurge
https://help.ubuntu.com/community/LocaleConf

What also should help to understand which files are involved is running locale in verbode mode:
  locale -a -v

It shows that all generate locales are located in /usr/lib/locale/, which you may remove if unneeded.

If error messages are displayed when issuing the locale command, e.g.

  locale: Cannot set LC_ALL to default locale: No such file or directory

... make sure the file /etc/default/locales exists and has content similar to this:

  LANG=&quot;en_US&quot;
  LANGUAGE=&quot;en_US:en&quot;</description>
		<content:encoded><![CDATA[<p>There is a package for Ubuntu that can take care of removing locales and locale related files (e.g. man pages): localepurge</p>
<p>You can install/run it issueing:<br />
  sudo apt-get install localepurge</p>
<p>For more information see<br />
<a href="http://pwet.fr/man/linux/administration_systeme/localepurge" rel="nofollow">http://pwet.fr/man/linux/administration_systeme/localepurge</a><br />
<a href="https://help.ubuntu.com/community/LocaleConf" rel="nofollow">https://help.ubuntu.com/community/LocaleConf</a></p>
<p>What also should help to understand which files are involved is running locale in verbode mode:<br />
  locale -a -v</p>
<p>It shows that all generate locales are located in /usr/lib/locale/, which you may remove if unneeded.</p>
<p>If error messages are displayed when issuing the locale command, e.g.</p>
<p>  locale: Cannot set LC_ALL to default locale: No such file or directory</p>
<p>&#8230; make sure the file /etc/default/locales exists and has content similar to this:</p>
<p>  LANG=&#8221;en_US&#8221;<br />
  LANGUAGE=&#8221;en_US:en&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-55487</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 31 Oct 2010 07:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-55487</guid>
		<description>There is a package for Ubuntu that can take care of removing locales: localepurge

You can run(!) it issueing:
$ sudo apt-get install localepurge

For more information see https://help.ubuntu.com/community/LocaleConf</description>
		<content:encoded><![CDATA[<p>There is a package for Ubuntu that can take care of removing locales: localepurge</p>
<p>You can run(!) it issueing:<br />
$ sudo apt-get install localepurge</p>
<p>For more information see <a href="https://help.ubuntu.com/community/LocaleConf" rel="nofollow">https://help.ubuntu.com/community/LocaleConf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PomCompot</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-12898</link>
		<dc:creator>PomCompot</dc:creator>
		<pubDate>Wed, 09 Sep 2009 09:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-12898</guid>
		<description>In fact, in Jaunty, /var/lib/locales/supported.d/local is not enough, you need to edit the other files in that folder: /var/lib/locales/supported.d/en for instance.</description>
		<content:encoded><![CDATA[<p>In fact, in Jaunty, /var/lib/locales/supported.d/local is not enough, you need to edit the other files in that folder: /var/lib/locales/supported.d/en for instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephane</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-12147</link>
		<dc:creator>Stephane</dc:creator>
		<pubDate>Wed, 19 Aug 2009 16:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-12147</guid>
		<description>To add a locale:

sudo locale-gen  [locale-name...]

Such as:

sudo locale-gen fr_FR.UTF-8

That will add the locale to /var/lib/locales/supported.d/local and generates the locale data for that locale.

That&#039;s documented in locale-gen&#039;s man page.

To remove a locale, you still need to edit the supported.d files by hand though.</description>
		<content:encoded><![CDATA[<p>To add a locale:</p>
<p>sudo locale-gen  [locale-name...]</p>
<p>Such as:</p>
<p>sudo locale-gen fr_FR.UTF-8</p>
<p>That will add the locale to /var/lib/locales/supported.d/local and generates the locale data for that locale.</p>
<p>That&#8217;s documented in locale-gen&#8217;s man page.</p>
<p>To remove a locale, you still need to edit the supported.d files by hand though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emerg</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-12016</link>
		<dc:creator>emerg</dc:creator>
		<pubDate>Thu, 13 Aug 2009 09:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-12016</guid>
		<description>thanks, it worked, unlike other comments on the net

to Greg Rundlett:
mentioning the sudo notice is kinda redundant -- if the user is unfamiliar with absolutely basic unix/linux/ubuntu concepts, what on earth he tries to do with locales?</description>
		<content:encoded><![CDATA[<p>thanks, it worked, unlike other comments on the net</p>
<p>to Greg Rundlett:<br />
mentioning the sudo notice is kinda redundant -- if the user is unfamiliar with absolutely basic unix/linux/ubuntu concepts, what on earth he tries to do with locales?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-872</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 14 Sep 2008 13:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-872</guid>
		<description>@greg

Thanks for your comment.I have updated the article.</description>
		<content:encoded><![CDATA[<p>@greg</p>
<p>Thanks for your comment.I have updated the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Rundlett</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-873</link>
		<dc:creator>Greg Rundlett</dc:creator>
		<pubDate>Sun, 14 Sep 2008 12:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-873</guid>
		<description>&#039;sudo&#039; should be used with the dpkg-reconfigure command (enabling the command to be issued as the super user).

That kind of information should not be left out or assumed when you&#039;re giving instructions on how to manipulate the base functioning of a system.</description>
		<content:encoded><![CDATA[<p>&#8216;sudo&#8217; should be used with the dpkg-reconfigure command (enabling the command to be issued as the super user).</p>
<p>That kind of information should not be left out or assumed when you&#8217;re giving instructions on how to manipulate the base functioning of a system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ghislain LEVEQUE</title>
		<link>http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html/comment-page-1#comment-871</link>
		<dc:creator>Ghislain LEVEQUE</dc:creator>
		<pubDate>Mon, 04 Jun 2007 08:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html#comment-871</guid>
		<description>Great ! I was looking for that ! Thank you</description>
		<content:encoded><![CDATA[<p>Great ! I was looking for that ! Thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>

