Package: python-rrdtool
Version: 1.4.7-2+b1
Severity: normal

My locale is en_GB.UTF-8

If I run
$ rrdtool graph file.rrd ....
I can see the week days in english. Good.

If I run
$ LANG=fr_FR.UTF-8 rrdtool graph file.rrd ....
I can see the week days in French. Good.

Now, using python,
   print (os.envion('LANG'))
   rrdtool.graph('file.png' .....

If I run
$ ./test.py
I get "en_GB.UTF-8" and weekdays in English, good.

But if I run
$ LANG=fr_FR.UTF-8 ./test.py
I get "fr_FR.UTF-8" but weekdays are still in English.

I expected them in French in that case.

Looks like locale is lost somewhere in python bidings.


Thank you for supporting Debian :)


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.10-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-rrdtool depends on:
ii  libc6    2.17-93
ii  librrd4  1.4.7-2+b1
ii  python   2.7.5-5

python-rrdtool recommends no packages.

python-rrdtool suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to