Unknown locale error for Malayalam language in Python

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Wed Feb 27 01:45:26 EST 2008


-On [20080227 06:03], maxinbjohn (maxinbjohn at gmail.com) wrote:
>ValueError: unknown locale: ml

This is highly dependent on the operating system you are on. Last I remember
Debian, for example, required a locale package. FreeBSD already has all
locales installed, your mileage may vary.

Try ls /usr/share/locale and see if ml is even supported, you'd generally
have to use ml_IN I guess.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Imitation is the sincerest form of flattery...



More information about the Python-list mailing list