From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Internationalize Emacs's messages (swahili) Date: Wed, 23 Dec 2020 18:07:30 +0200 Message-ID: <83pn30pku5.fsf@gnu.org> References: <87o8ivumn5.fsf@telefonica.net> <87v9d3nkxk.fsf@gnus.org> <83sg7xrgr5.fsf@gnu.org> <83h7odrdwy.fsf@gnu.org> <86sg7w39fh.fsf@163.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9118"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dimech@gmx.com, abrochard@gmx.com, rms@gnu.org, bugs@gnu.support, emacs-devel@gnu.org To: Zhu Zihao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 23 17:08:34 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ks6gk-0002Gt-35 for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Dec 2020 17:08:34 +0100 Original-Received: from localhost ([::1]:60690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks6gj-0001Vy-68 for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Dec 2020 11:08:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks6g2-0000rA-D3 for emacs-devel@gnu.org; Wed, 23 Dec 2020 11:07:51 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52099) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks6fz-0007FE-4J; Wed, 23 Dec 2020 11:07:47 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4750 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ks6fr-0001J1-Ac; Wed, 23 Dec 2020 11:07:39 -0500 In-Reply-To: <86sg7w39fh.fsf@163.com> (message from Zhu Zihao on Wed, 23 Dec 2020 22:04:50 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261610 Archived-At: > From: Zhu Zihao > Date: Wed, 23 Dec 2020 22:04:50 +0800 > Cc: dimech@gmx.com, abrochard@gmx.com, rms@gnu.org, bugs@gnu.support, > emacs-devel@gnu.org > > >> Is it possible to start, like using gettext stuff? > > > > See the ngettext function. > > I see the the C code of ngettext. > > /* Placeholder implementation until we get our act together. */ > return EQ (n, make_fixnum (1)) ? msgid : msgid_plural; > > Looks that we're not ready for the i18n/l10n? "Ready" in what sense? There were serious discussions of this stuff in the past, which revealed the parts of this (large) job, and in particular that just having a Lisp binding for gettext is not enough. We are "ready" in the sense that someone needs to implement at least some of those parts. (This is about l10n; i18n is in Emacs since v20.1.)