Chris Lamb wrote: > Please add support for gettext. A patch is attached,
I forgot to catch any exceptions when setting the locale: - locale.setlocale(locale.LC_ALL, '') + try: + locale.setlocale(locale.LC_ALL, '') + except locale.Error: + pass This change stops the program crashing when we run "LANG=de_DE.UTF-8 python debgtd.py" and "de_DE.UTF-8" is not configured (etc). We don't have to do any fallback handling; it is performed by GTK. Regards, -- Chris Lamb, UK [EMAIL PROTECTED] GPG: 0x634F9A20
signature.asc
Description: PGP signature