From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: Swedish calendar localization in official release (sv-kalender.el)? Date: Wed, 07 Jul 2021 17:31:31 +0300 Message-ID: References: <87r1gbop0f.fsf@iki.fi> <87o8bfohtp.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19012"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Stefan Kangas , Emacs developers To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 07 16:32:43 2021 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 1m18bR-0004kQ-Gq for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Jul 2021 16:32:41 +0200 Original-Received: from localhost ([::1]:44446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m18bQ-0002yM-J3 for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Jul 2021 10:32:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m18aU-0001uB-8P for emacs-devel@gnu.org; Wed, 07 Jul 2021 10:31:42 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m18aS-0003Ea-2v for emacs-devel@gnu.org; Wed, 07 Jul 2021 10:31:41 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 69D025C0050; Wed, 7 Jul 2021 10:31:36 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 07 Jul 2021 10:31:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=HilzzX7giY1p02WDNr9Be3OXRQ W5XV+xe3qRZxiPKsY=; b=YDdGKU1/iAC0JMvxY1OZE39Hp+Bnby20KnRxH2vsCV JCWYb2Ml+UtSv1OEHn2RzFN+wCGAwxtWHS7lL6ZV9oiQeRiUdpu6Eibu1t73K1qN XbjmegoKlwye4ngJtA+UU040DcgHOOmBU1pT661QObXYis7JzxanKhBVW1vmsZVk eJxIzSP7JQe7LXgEQ3ywHDfrOcmnSCCt3dVIeejEv0iTLsPamdbhzHTQMFxWJoWJ XefLAam2XKccylNrNeoAAox7QTFF22sqiP6V3A9Spn1ZD1j7BeevJHWHPPGvCIik 0574x2X/M/F8c5cphwwWXNLQob1UeuvVTP4pBBcfBsKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=HilzzX 7giY1p02WDNr9Be3OXRQW5XV+xe3qRZxiPKsY=; b=HeD9msRKjcilazBAlVgz1r wSzUDghHFxUbtpcQggHTkUy7IZE0Kt/QseEBYe7Uhb7i4nvLJytk05vt3aVlTM/V acj1UteMyJZp7yTIS8Wp+EII54Hl9E0S96tChZqxq6QCHBMynS9CQLFPJSPZ2oP4 qR0QwU4lBvRyoqQxzPNN9qyvXzbmL8YUkeJJpVph+nNl+Jiwf/Mq4j6PG39aE98a +qQHvoHMIrnWkou3RQpChud62XN88fOK3kixDROPKxCpo7wUuzly+Z4Ta2u5r2Jo VNZC3lhQ0f+DVvgaqAf/+MxHA91SQWtNwVwQpnL2brxE3AmSN6Mkxd04hG/GACTQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtddvgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesthdtredttdertdenucfhrhhomhephfhilhhiphhp ucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmqeenucggtffrrg htthgvrhhnpedvveekffdvueevhfdutdejheekvdeufeevtedttdevuddugfeiffeiveei vefhtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hfghhunhgsihhnsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Jul 2021 10:31:35 -0400 (EDT) In-Reply-To: (Arthur Miller's message of "Tue, 06 Jul 2021 19:23:53 +0200") Received-SPF: pass client-ip=66.111.4.26; envelope-from=fgunbin@fastmail.fm; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:271157 Archived-At: > Would it be an idea to have those array for names in separate > files from hollidays and maybe shipped with Emacs. I can > machine-generate those for ~200 languages, and they are really small. I > am thinking of a file structure like: "lisp/calendar/locale/". In locale > directory would be one file per language named something like > "names-countrycode.el" (for example names-fi.el, names-sv.el, > names-ar.el etc). A content would be just names of days and > months. Content of each file would like in code belove the email. There're countries in which multiple languages are in use, so it's not sufficient to map country code to a file. Rather, a language should be mapped to a file. Maybe you need something like locale-language-names var, see its doc. Filipp