[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1654810 - /subversion/trunk/subversion/tests/cmdline/prop_tests.py

From: Philip Martin <philip_at_codematters.co.uk>
Date: Mon, 09 Feb 2015 13:32:43 +0000

Philip Martin <philip.martin_at_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
Received on 2015-02-09 14:33:32 CET

This is an archived mail posted to the Subversion Dev mailing list.