Howto: Fix Satchmo “Bad Locale” exception

This article describes how to fix the bad locale errors on Gentoo GNU/Linux.

Configure

VPS root users can open /etc/locale.gen, which should look like this by default:

en_US ISO-8859-1
en_US.UTF-8 UTF-8

It is important to add support for the other locales which Satchmo is configured to use (settings.LANGUAGES).

For example, a locale.gen file with French language support looks like:

en_US ISO-8859-1
en_US.UTF-8 UTF-8
fr_FR ISO-8859-1
fr_FR.UTF-8 UTF-8

Compile

Locale are recompiled with the command useable by root:

locale-gen

It should be run after each addition of language in /etc/conf.d/locale-gen

External Resources

The Satchmo mailing list and the Satchmo issue tracker

Add post to: Delicious Reddit Slashdot Digg Technorati Google
(already: 1) Comment post

Comments

No comments for this post

Comment form for «Howto: Fix Satchmo "Bad Locale" exception»

Required. 30 chars of fewer.

Required.

captcha image Please, enter symbols, which you see on the image