From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: National Language Support Functions Date: Fri, 29 Dec 2006 16:14:53 +0000 Message-ID: <45953EFD.6070003@gnu.org> References: <458AB581.7090303@student.lu.se> <458AF7AC.5030500@student.lu.se> <458B2295.7010806@student.lu.se> <4593C0B1.8060406@gmail.com> <4594EE89.6090403@gnu.org> <459536C5.4090503@gmail.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167408941 19165 80.91.229.10 (29 Dec 2006 16:15:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 16:15:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 29 17:15:39 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1H0KOR-0005pL-9C for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 17:15:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0KOQ-0000dP-Mh for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 11:15:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0KNl-0000KO-Io for emacs-devel@gnu.org; Fri, 29 Dec 2006 11:14:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0KNk-0000Jw-Ry for emacs-devel@gnu.org; Fri, 29 Dec 2006 11:14:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0KNk-0000Jm-N5; Fri, 29 Dec 2006 11:14:56 -0500 Original-Received: from [194.106.33.237] (helo=outmail1.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H0KNk-0002Zp-8Y; Fri, 29 Dec 2006 11:14:56 -0500 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 9C89E519A0; Fri, 29 Dec 2006 16:14:55 +0000 (GMT) User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: "Lennart Borgman (gmail)" In-Reply-To: <459536C5.4090503@gmail.com> 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:64425 gmane.emacs.pretest.bugs:16255 Archived-At: Lennart Borgman (gmail) wrote: > Jason Rumney wrote: >> Lennart Borgman (gmail) wrote: >>> We never made any decision on this issue. Most of the answers >>> pointed to that GetUserDefaultUILanguage is the correct function to >>> use. Or am I just misinterpreting to confirm what I said at the >>> beginning ;-) >> >> You are just misinterpreting to agree with what you yourself believe. >> Benjamin Riefenstahl had a similar setup as yourself, with a >> non-English locale on an English localized version of Windows, and he >> too would prefer the English tutorial, but I don't think we should >> limit ourselves to the languages that Windows has been translated to, >> and in some cases this is plainly the wrong language to use. > > I am sorry, but I do not at all understand what you mean. What do you > mean with that "I don't think we should limit ourselves to the > languages that Windows has been translated to"? Have we discussed that > at all? Is not this discussion about how to choose the correct > language for text to be shown inside Emacs (in this case the tutorial > of couse)? The function you are suggesting we use returns the language used by Windows itself for its UI. If we use that function to determine the user's language preference, we (1) limit the language selection to languages that Windows has been localized in, and (2) the language cannot be changed by the user after installation except in Vista and installations of Windows 2000/XP that Microsoft makes available only to large multinational corporations. > It would be very good if we continued this discussion. It may not > matter very much for those using an English keyboard layout, but it > definitively does if you use for example a Swedish keyboard layout. I don't see why keyboard layout has anything to do with it. The language that Emacs (and Gimp) uses is determined by the user's locale settings, not by the keyboard layout.