From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: A system for localizing documentation strings Date: Fri, 27 Jul 2007 01:25:31 +0900 Message-ID: <539639C8-E530-4392-A6BA-301A7BEA1C19@mx6.tiki.ne.jp> References: <795F38F4-7253-47DC-97DD-53BED4F0AB97@mx6.tiki.ne.jp> <46A8B498.1070502@gnu.org> <46A8C099.6060401@gnu.org> <46A8C8A9.2070909@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1185467195 8619 80.91.229.12 (26 Jul 2007 16:26:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2007 16:26:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 26 18:26:32 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IE6AZ-0003SH-Ax for ged-emacs-devel@m.gmane.org; Thu, 26 Jul 2007 18:26:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE6AX-0007BL-Dq for ged-emacs-devel@m.gmane.org; Thu, 26 Jul 2007 12:26:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IE6AR-00073C-F5 for emacs-devel@gnu.org; Thu, 26 Jul 2007 12:26:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IE6AL-0006dk-R7 for emacs-devel@gnu.org; Thu, 26 Jul 2007 12:26:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE6AL-0006dT-L2 for emacs-devel@gnu.org; Thu, 26 Jul 2007 12:26:17 -0400 Original-Received: from smtp9.tiki.ne.jp ([218.40.30.106]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IE69y-00061W-1T; Thu, 26 Jul 2007 12:25:57 -0400 Original-Received: from [192.168.11.4] (pl062.nas933.takamatsu.nttpc.ne.jp [210.136.182.62]) (authenticated bits=0) by smtp9.tiki.ne.jp (8.13.8/8.13.8) with ESMTP id l6QGPgWm041939 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 27 Jul 2007 01:25:42 +0900 (JST) (envelope-from fusion@mx6.tiki.ne.jp) In-Reply-To: <46A8C8A9.2070909@gnu.org> X-Mailer: Apple Mail (2.752.3) X-detected-kernel: FreeBSD 5.3-5.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75587 Archived-At: On 27 juil. 07, at 01:15, Jason Rumney wrote: >> Also, a Lebanese developer who reads French would rather have French >> as the default than any dialect of English. > So we allow them to specify multiple languages in order of preference: > (setq preferred-doc-language '(ar-LB, ar, fr)) > Only if translations for none of those languages exist do we give them > the English doc string. This is exactly what I proposed in my original mail. I am glad you eventually reached that conclusion. > In case the locale matching string is not available (not > translated), a mechanism to display a prefered language, then the > default language should be implemented. Jean-Christophe Helary