X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2Fpostats.py;h=e4c38572facc936ef4199702337817144b6b2296;hb=1b7b9e4980f2ed1b0201042a2cfd7d9d8536dc02;hp=9b8795170f559d78a27e69c95156726cb1a221e2;hpb=1dd68530a6aa50d303b1d4ffec1ce56aeb1d40c0;p=lyx.git diff --git a/po/postats.py b/po/postats.py index 9b8795170f..e4c38572fa 100644 --- a/po/postats.py +++ b/po/postats.py @@ -37,7 +37,8 @@ import sys # Reset the locale import locale -locale.setlocale(locale.LC_ALL, '') +locale.setlocale(locale.LC_ALL, 'C') +os.environ['LC_ALL'] = 'C' def extract_number(line, issues, prop): """