LC_NUMERIC WIN32
Hi,
I try to change the decimal point character from "float" fields from "," (comma in the french locale default) to "." (point in "C" locale)
I have made the change below, and tested on linux successfully, but on MS Windows (Win32) it doesn't work.
I want to know if it is possible on MS Windows.
Any hint appreciated.
Thanks
Sylvain CALADOR
Logical Soft
=== modified file 'bin/translate.py'
--- bin/translate.py 2009-01-06 21:56:18 +0000
+++ bin/translate.py 2010-02-17 17:45:18 +0000
@@ -179,6 +179,7 @@
lang_enc = lang2 + '.' + encoding
try:
+ locale.
except:
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Sylvain Calador
- Solved:
- 2010-03-04
- Last query:
- 2010-03-04
- Last reply:
I found another "dirty" solution, which should works on all OS,
and allow to enter dot or comma as decimal separator.
=== modified file 'bin/widget/
--- bin/widget/
+++ bin/widget/
@@ -31,7 +31,7 @@
adj = gtk.Adjustment(0.0, -sys.maxint, sys.maxint, 1.0, 5.0)
- self.widget.
+ self.widget.
if self.attrs[
Thanks