Evan Martin (evan) wrote in evan_tech,
Evan Martin

ubuntu broken locales (cadt strikes again)

A while back I received a Chinese translation for LogJam. Tonight I got around to testing it, but discovered that the normal way to configure my locales had stopped working. CADT strikes again!*

Some background: To run a program in a different language, you need to have configured locales, which (to my not-really-understanding understanding) is a bunch of data files off in /usr/share somewhere. Typically, you edit /etc/locale.gen and then run locale-gen; or, if you wanna be fancy, it's dpkg-reconfigure locales and it'll give you a list of languages to check off for installation.

But on my system now, there is no /etc/locale.gen, though there mysteriously is a manpage for it. And the dpkg command just regenerates the English locales (all 15 of 'em, one for each dialect of English) without asking me anything.

After some poking and prodding -- everything you'll find on Google describes the same procedure I gave two paragraphs up -- I finally discovered Ubuntu bug #48573, where someone basically says "Um, this used to work and it broke." And the response is, "That is intentional. We now have a Totally New Way to configure this and it's nicely controllable via System→Administration→Language Support."

Unfortunately I don't have a System→Administration→Language Support, nor do I know where to get one. Hrmph.

* I'm not really too upset about this, as I can recognize there may have been good reasons to make the change. On the other hand, I am upset that it was broken in such a way that I can't track down the fix.
Tags: grumpy, ubuntu

  • your vcs sucks

    I've been hacking on some Haskell stuff lately that's all managed in darcs and it's reminded me of an observation I made over two years ago now (see…

  • perl people, explain your language to me

    Every time I use perl I feel mildly positive about it right up until I encounter CPAN. I've never managed to make CPAN work, despite the multitude of…

  • dns attack of doom

    If I've learned anything from the new Kaminsky DNS attack, it's that if you want to keep something a secret while disclosing to a trusted subset of…

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.