Philip Martin <philip.mar...@wandisco.com> writes: > # Set C locale for command line programs > os.environ['LC_ALL'] = 'C'
Hmm, setting LC_ALL may not do what we want on the command line: $ LC_ALL=de_DE svn Type 'svn help' for usage. $ LC_ALL=de_DE svn ls -v wc/A/f 1 pm 2 Feb 09 12:32 f To get German I need to set LANGUAGE: $ LANGUAGE=de_DE svn Geben Sie »svn help« für weitere Hilfe ein. $ LANGUAGE=de_DE svn ls -v wc/A/f 1 pm 2 09. Feb 12:32 f Setting LC_ALL doesn't alter LANGUAGE: $ (export LC_ALL=de_DE ; locale ) (export LC_ALL=de_DE ; locale) LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LC_CTYPE="de_DE" LC_NUMERIC="de_DE" LC_TIME="de_DE" LC_COLLATE="de_DE" LC_MONETARY="de_DE" LC_MESSAGES="de_DE" LC_PAPER="de_DE" LC_NAME="de_DE" LC_ADDRESS="de_DE" LC_TELEPHONE="de_DE" LC_MEASUREMENT="de_DE" LC_IDENTIFICATION="de_DE" LC_ALL=de_DE -- Philip