{"id":757,"date":"2010-03-01T18:43:40","date_gmt":"2010-03-02T02:43:40","guid":{"rendered":"http:\/\/wp.colliertech.org\/cj\/?p=757"},"modified":"2010-03-02T12:30:29","modified_gmt":"2010-03-02T20:30:29","slug":"locale-configuration-post-intrepid","status":"publish","type":"post","link":"https:\/\/wp.c9h.org\/cj\/?p=757","title":{"rendered":"Locale configuration post-Intrepid"},"content":{"rendered":"<p>I was reminded this morning after a bit of chatter on #debian-cli that <a href=\"http:\/\/wp.colliertech.org\/cj\/?p=388\">my previous write-up<\/a> on setting one&#8217;s locale on Ubuntu is out-of-date.  Instead of running <i>dpkg-reconfigure locales<\/i> and selecting your locale, the new incantation is as follows:<\/p>\n<h2>Magic<\/h2>\n<pre>\r\n<b>$<\/b> sudo locale-gen en_US.UTF-8\r\n<\/pre>\n<h2>Environment Variables<\/h2>\n<p>You&#8217;ll also want to set some environment variables.  Put something like the following in your ~\/.bashrc:<\/p>\n<pre class=\"brush:bash\">\r\nLANG=en_US.UTF-8\r\nLANGUAGE=en_US.UTF-8\r\nLC_CTYPE=en_US.UTF-8\r\nLC_MESSAGES=en_US.UTF-8\r\nLC_ALL=en_US.UTF-8\r\n\r\nexport LANG LANGUAGE LC_CTYPE LC_MESSAGES LC_ALL\r\n<\/pre>\n<p>You would of course replace <i>en_US.UTF-8<\/i> with whichever locale you want to generate.<\/p>\n\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=cjamescollier\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I was reminded this morning after a bit of chatter on #debian-cli that my previous write-up on setting one&#8217;s locale on Ubuntu is out-of-date. Instead of running dpkg-reconfigure locales and selecting your locale, the new incantation is as follows: Magic $ sudo locale-gen en_US.UTF-8 Environment Variables You&#8217;ll also want to set some environment variables. Put [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[188,17,181,130,210],"tags":[],"class_list":["post-757","post","type-post","status-publish","format-standard","hentry","category-cli","category-debian","category-irc","category-ubuntu","category-ubuntu-us-wa"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1YDIB-cd","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=757"}],"version-history":[{"count":6,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/757\/revisions"}],"predecessor-version":[{"id":765,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/757\/revisions\/765"}],"wp:attachment":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}