From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Swedish calendar localization in official release (sv-kalender.el)? Date: Mon, 5 Jul 2021 13:51:42 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5348"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 05 13:52:31 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 1m0N9L-00018H-8N for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Jul 2021 13:52:31 +0200 Original-Received: from localhost ([::1]:53652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0N9K-0003tJ-6B for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Jul 2021 07:52:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0N8n-0003EF-HD for emacs-devel@gnu.org; Mon, 05 Jul 2021 07:51:57 -0400 Original-Received: from mail-pj1-f42.google.com ([209.85.216.42]:46993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0N8l-00055U-QZ for emacs-devel@gnu.org; Mon, 05 Jul 2021 07:51:57 -0400 Original-Received: by mail-pj1-f42.google.com with SMTP id b5-20020a17090a9905b029016fc06f6c5bso11622835pjp.5 for ; Mon, 05 Jul 2021 04:51:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RLK7w9vG5M2nUc6O4SEqKm4Tm2pvkbuh3SZea2KHc2k=; b=SGBWK3XOjGPG+7RDZDP8wI5sKdmIhUXO1Aom0JvAIgYE4YyKWQWKl9UrsubAUlUyCe XovzesBmMGFyK8V+a/tXe6Qp21Pa+DRASoql+lri58htRckF/Z2F3i+9Jr6tUeIHhSC5 awvTbcFZ/ID5+Tj2ZAirejrQD9TbsyI6NFsdm0YbFKdNICOxdnSifCzMOJBqmsAEf93u i7QanlspQpL3MY47Gx0mVPxfxdcWN2OMwY6avI4md7Q2SbGBg2Kq6N7IgUbSY2pRpB8h GQj/3ja0B5Y3VT6bZ+q/QVNltjxBo1SN09GbMckGB5Th9LcXh24J499nKjY92fGRiorX uMNw== X-Gm-Message-State: AOAM533icLres53DAn6ZmzwK50QO5rxiV8jpvaSdKNNM2yuLUZ9iuTqg UvYOEHkoW4IdAFTdWmoNibcQYp8RPiJ+1vMFTL4= X-Google-Smtp-Source: ABdhPJyatSJ2HGervfu+fsBeXaUarhAwD1d3k5DW0GNWhHuLqBA3ky2NRVXCkHDCoEtyyy9TUjO3t0342kzjSb22QtY= X-Received: by 2002:a17:902:e806:b029:129:4779:3969 with SMTP id u6-20020a170902e806b029012947793969mr12164441plg.70.1625485913654; Mon, 05 Jul 2021 04:51:53 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.216.42; envelope-from=stefankangas@gmail.com; helo=mail-pj1-f42.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:271129 Archived-At: Arthur Miller writes: > Just a question/suggestion: can we get a localized calendar for swedish > language into official release? There is a small file by Daniel Jensen, > found at: http://bigwalter.net/daniel/elisp/. > > I did a small hack to it, just added names for abbreviated day names and > header array since it seems to not be properly initialized if > sv-kalender is loaded after the calender.el. > > In a short mail correspondence with Daniel, he says he has signed FSF > copyrights, so I guess, legaly it shouldn't be a problem to include that > file amongst few other localizations in lisp/calender? I support this proposal. If there are no legal issues, for me it's a no-brainer that this file (and some similar ones) should be included in Emacs itself. I don't know if others agree, but I have myself been wondering why sv-kalender.el is not just part of Emacs. If you are living in Sweden, the calendar is next to useless for many kinds of planning if you don't have that library loaded. The only drawback I see is that sometimes people stop maintaining things once they are merged into Emacs. I'm not sure what could be done about that, or if others here even share that concern. Perhaps we could set it up as a GNU ELPA core package? Or perhaps I'm worried for no reason. In any case, we should specifically ask the current maintainer to continue maintaining it inside of Emacs, and make it clear that we have no extra resources or volunteers on our end that can really help with that. Our motivation should be made clear: it is simply to distribute this useful library to more users. > Maybe the > name of the file itself should be adjusted, like calender-swedish.el or > something? (I don't know which conventions could be useful here, but note that Swedish is also spoken in Finland.) > Also a side question about localizations as found on Emacs Wiki: > > https://www.emacswiki.org/emacs/CalendarLocalization > > I can't imagine that day and month names and few other bits related to > that information can be copyrighted. Would ot be interesting to > collect info from that wiki page into some file with localized names > and maybe have Emacs auto load localized names when avialable based on > value in LANG env (or whatever variable is suitable), and a variable to > turn on/off that behaviour? >From my perspective, the most useful part here is the code to calculate when the national holidays are, as the rules for that can be quite finicky. (See sv-kalender.el for example.) Including lists of month names and so on in various languages could also be useful, but we should make sure to do it in a clean way. Even just including sv-kalender.el (renamed to something suitable) so that a person living in Sweden can just (require 'sv-kalender) and be done with it is a useful step forward, I think. Thanks for looking into this. I hope we can see some results for Emacs 28.