Ich will, wie hier beschrieben, "locale" auf deutsch umstellen. Es klappt aber nicht:
Code: Alles auswählen
In [18]: locale.setlocale(locale.LC_ALL, 'de_DE')
---------------------------------------------------------------------------
Error Traceback (most recent call last)
/home/sebastian/<ipython console> in <module>()
/usr/lib/python2.5/locale.pyc in setlocale(category, locale)
476 # convert to string
477 locale = normalize(_build_localename(locale))
--> 478 return _setlocale(category, locale)
479
480 def resetlocale(category=LC_ALL):
Error: unsupported locale setting