From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KKQuFAkkj2PywQAAbAwnHQ (envelope-from ) for ; Tue, 06 Dec 2022 12:14:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mPw+Ewkkj2NfUgAAG6o9tA (envelope-from ) for ; Tue, 06 Dec 2022 12:14:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 260F971A8 for ; Tue, 6 Dec 2022 12:14:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2Vss-0007BN-20; Tue, 06 Dec 2022 06:13:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2Vsq-0007B7-1A for emacs-orgmode@gnu.org; Tue, 06 Dec 2022 06:13:08 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2Vso-0002Ww-Bn for emacs-orgmode@gnu.org; Tue, 06 Dec 2022 06:13:07 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1p2Vsk-0001PA-C6 for emacs-orgmode@gnu.org; Tue, 06 Dec 2022 12:13:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages Date: Tue, 6 Dec 2022 18:12:54 +0700 Message-ID: References: <87bkotjm6m.fsf@localhost> <87pmczif2f.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US In-Reply-To: <87pmczif2f.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.169, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.265, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670325256; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=4/JLf4kxvX0wfwSRPXEF5mPEM/HSEsMrkmt5vLK7+S8=; b=YwMup4PfQrs/WdGoIGS2p05hFkrx3k5d50tfce9QW2x3DiZzZiJ1A0J8Uo8rGbLWawE0kI dOi5HWpA43DiXszGzyMJuaCWZebOhpR+8O75RRjTcygDxYbUHeFCXfOAZQE3ZedIySaN48 iP3LL1uuSOLcV6D/hNeZHfjvFyDVPW9m4CiAkRywuQpXHgxJnvLE6xUyYqSVro9stPiFPK VM94gDrvLAQMjS3J9z/VJbTCGZVhnJi/dI+/RUmNICiy2MlQiblClF0Nlq7VSA1dpIiREr WSd2viNQdAeLu/01JSenavGjFrz7P9AHmYEjbMoJ+AtJ0wubCCt2m0lDd2auAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670325256; a=rsa-sha256; cv=none; b=crHIcEFBMAu1YPF1rr0aglZi1o5FQAuE0xGBH2ZB68js8bnIXrBv1lnB5jEYe2sCKlAHho CIPHYauF0wt2OKLnLN5BgQ4LnKlk7xbIOMQksh4h+T8m7Z1eEiiIQsIq9UDkl1t+N6776O d0uNym4LQ+xuTrk189qHvfwFt4cubDp9jRLqe5FD+ncsKs31CSCkDH6Z+EwoDh9m3ecnnA 7G74BA4EBsdAbg7QJiS0edwEXaazfEyi4Iwt1Dn8tfEMEiZmTxHbZBIZYVglgoY4VBn6jy hQAJ+llIGDchMyMrQrwSK+r+57KLZtgEEynRqb1SnsxhOhM3t5yY+3shMrTaBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 260F971A8 X-Spam-Score: 2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: fVaswSDH9DQO On 04/12/2022 18:27, Ihor Radchenko wrote: > Max Nikulin writes: > >> For some reason I believed that gettext was available in Emacs. ... > > It would indeed be interesting to have a unified approach to bring > translations into Emacs. I'd discuss it on emacs-devel. I found the following thread: Eli Zaretskii to emacs-devel… Re: Internationalize Emacs's messages (swahili) Thu, 24 Dec 2020 16:16:24 +0200. mid:834kkbp9vr.fsf@gnu.org > They are easy enough to find: search the list archives for "gettext" > or "l10n", and you will find them. The last one starts here: > > https://lists.gnu.org/archive/html/emacs-devel/2019-03/msg00081.html > > A previous one starts here: > > https://lists.gnu.org/archive/html/emacs-devel/2017-04/msg00750.html So a translations framework for Emacs is to be implemented. This particular thread is concentrated on 2 issues: - Attempt to not count all elements in list for performance reason. Unfortunately `ngettext' would not work for languages having more than "" and "s" forms. - "Fluent" would be better than gettext since it allows arbitrary categories, not just numbers, but someone should write its implementation in C. This part of discussion is mostly dedicated to the question if linking with a Rust library is acceptable.