Return-Path: Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: (qmail 27823 invoked from network); 6 Feb 2011 12:44:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Feb 2011 12:44:13 -0000 Received: (qmail 4188 invoked by uid 500); 6 Feb 2011 12:44:12 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 4074 invoked by uid 500); 6 Feb 2011 12:44:09 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 4067 invoked by uid 99); 6 Feb 2011 12:44:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Feb 2011 12:44:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rauburtin@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Feb 2011 12:44:01 +0000 Received: by wwb39 with SMTP id 39so4625009wwb.16 for ; Sun, 06 Feb 2011 04:43:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type; bh=1IcrrUEkBUU9Zjp6LunIFI2bP4eBCKVOMaMxKHYYtDU=; b=jLuSLegWQk9ywXf4dieD9Q9Jp0jX+IZ97y0xzysRcWFLYTRhEhNmCnbEkHGWWHJZmT DuPR3+ks3oUpZZU65ALzjjSjrNfZw6yABh20MF7IAGH0y3c2PB1AxWpkBz/pPm8CBiI5 ASa0w/nYznr2j6nVH/Yt3Pn1VmHySCuuh81+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=SCUGIHpdpNXKC/VqpEghTr9ruTzGkBmwKxQuPFe+WtYlB+1INn4dQ9mLF7TTTqty45 N21LtPe37QFy4uvnkTc3Y+/IbCu4eqphtGOsXMKMBuURbNIYbvwRBrLmios8I/AKqKR6 +2/VmnklSFTkevunzd0L+GqSI98WKnz7k4uEg= Received: by 10.227.155.73 with SMTP id r9mr14747572wbw.63.1296996219821; Sun, 06 Feb 2011 04:43:39 -0800 (PST) Received: from [192.168.100.122] (voi38-3-78-233-201-166.fbx.proxad.net [78.233.201.166]) by mx.google.com with ESMTPS id u9sm2361763wbg.0.2011.02.06.04.43.38 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 04:43:38 -0800 (PST) Message-ID: <4D4E976D.8020402@gmail.com> Date: Sun, 06 Feb 2011 13:43:25 +0100 From: Roch Auburtin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: users@subversion.apache.org Subject: Translation of errors Content-Type: multipart/alternative; boundary="------------070702020601050905010004" This is a multi-part message in MIME format. --------------070702020601050905010004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi, I try to get all error messages translated in French. I use svn version 1.6.4 on Ubuntu server and access the repositories through Apache + mod_dav_svn I have compiled svn from source and compiled the french .mo file, then I placed the .mo file in the correct place. I also set the language as follow: export LC_ALL='fr_FR.UTF-8' To get error messages, I committed a working folder which was not up-to-date and I obtained: svn ci -m 'test delete' Suppression dir1 svn: �chec de la propagation (commit), d�tails : svn: Item '/dir1' is out of date As you can see, only a part of the errors are translated. The message "Item '/dir1' is out of date" is not translated. I guessed that I had this problem because this error is raised by the code running on the server. So I tried to set the language in the envvars file of apache such as: export LANG='fr_FR.UTF-8' export LC_ALL='fr_FR.UTF-8' I restarted apache but I got the same pb. I googled to find a solution to this problem and it seems that the problem is related to the mod_dav_svn code that don't use the defined locale. Could you confirm that I am right and do you know a solution to this problem? --------------070702020601050905010004 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

I try to get all error messages translated in French.
I use svn version 1.6.4 on Ubuntu server and access the repositories through Apache + mod_dav_svn

I have compiled svn from source and compiled the french .mo file, then I placed the .mo file in the correct place.
I also set the language as follow:

    export LC_ALL='fr_FR.UTF-8'

To get error messages, I committed a working folder which was not up-to-date and I obtained:

svn ci -m 'test delete'
Suppression dir1
svn: Échec de la propagation (commit), détails :
svn: Item '/dir1' is out of date

As you can see, only a part of the errors are translated.
The message "Item '/dir1' is out of date" is not translated.

I guessed that I had this problem because this error is raised by the code running on the server.

So I tried to set the language in the envvars file of apache such as:

export LANG='fr_FR.UTF-8'
export LC_ALL='fr_FR.UTF-8'

I restarted apache but I got the same pb.
I googled to find a solution to this problem and it seems that the problem is related to the mod_dav_svn code that don't use the defined locale.

Could you confirm that I am right and do you know a solution to this problem?
--------------070702020601050905010004--