From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uG0fBmd3YGEsKAAAgWs5BA (envelope-from ) for ; Fri, 08 Oct 2021 18:52:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8Pb0AGd3YGEbPAAAB5/wlQ (envelope-from ) for ; Fri, 08 Oct 2021 16:52:55 +0000 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 7864A2F056 for ; Fri, 8 Oct 2021 18:52:54 +0200 (CEST) Received: from localhost ([::1]:41364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYt77-0004tt-95 for larch@yhetil.org; Fri, 08 Oct 2021 12:52:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYt6H-0004td-E8 for emacs-orgmode@gnu.org; Fri, 08 Oct 2021 12:52:01 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:39729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYt6D-0001IS-W7 for emacs-orgmode@gnu.org; Fri, 08 Oct 2021 12:52:01 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id A755D1C0002 for ; Fri, 8 Oct 2021 16:51:54 +0000 (UTC) From: Nicolas Goaziou To: emacs-orgmode@gnu.org Subject: Re: Citations: Locale specific adaptions? References: <8735pbh3q3.fsf@atlantis> Date: Fri, 08 Oct 2021 18:51:53 +0200 In-Reply-To: <8735pbh3q3.fsf@atlantis> ("M. =?utf-8?Q?=E2=80=98quintus?= =?utf-8?Q?=E2=80=99_G=C3=BClker=22's?= message of "Fri, 08 Oct 2021 18:37:56 +0200") Message-ID: <87h7drihna.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.197; envelope-from=mail@nicolasgoaziou.fr; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633711974; 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=2dRJagfrqCr3g30GRn4PPlgO7UWFmk39azILyctLdbU=; b=XZSaiYnpvMLe4NbckwkhJvk46CWcz4cQ9RKQZEtPtUh/WAl55CU+ghs8dm8m++A+x8HA2i X5TqEnRykP7/xr0RJFjEjmrseRVLuT78L2od2gcRRV27hVv9jR7HHbIzTRVyCEVDYTtkkm Gg9YDgMyBC/Jj3QcsnTrjdxnWxbbXswo6Fj3ufIpgmt5WekaVtupHDskHUc/VXzsxVH0e+ w7AsWhl6FARZJhJZqKEMGhzBi/jAYt5SIFkwNJsyepzpd2gRRpAHRGbICg6PJhaq5LcaaH +PIUvzSpStWfK7DCyqYIf++t2yYF2v/OGz/1iXTAIiTPqxeIWx6k9RmVLbx+WA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633711974; a=rsa-sha256; cv=none; b=SjL51CW1rYj5y0+ZGHEcZq9bdMgPQAaOo8cRRycraAnPxPqw+X1/e1RYvm1BjQdmIcvA/D u80x0LtqQ0FMbBaZmCC7ZD7i2SEjpByBp7YIBXJ5d49T4ttBubt10iKIeaf/coDKKk2c5D fETSi6hBxHq2HYt+BTJhxx6ISkZ/2OxoeXQk7iOWTkI3/NhWQftU0K5s/Tuas3P9qV33ui zaJ0UBzvi5N1sAmwF6FFGPgmcrAjBseA4WlpJDF9sj6L6OIKEA37x/VVMbYY7EjzkLAS2b 1gLa7xqPKwqUd7YsxDs9N/HrtJ9n0kqP/6Mmnmxp3ivYjR5Hqxi6GhkkwjuMZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7864A2F056 X-Spam-Score: 0.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: OjlspI4JO7cY Hello, M. =E2=80=98quintus=E2=80=99 G=C3=BClker writes: > CSL has a concept of locales, where things like specific terms or the > date format are drawn from locale files (see > https://docs.citationstyles.org/en/1.0.1/specification.html#locale). I > am not entirely sure if this is supported yet by the new citations > functionality. Take this test document test.org: > > #+TITLE: Test > #+LANGUAGE: de > > #+AUTHOR: Testauthor > #+bibliography: /tmp/test/test.bib > > #+cite_export: csl /tmp/test/juristische-zitierweise.csl > > Das ist ein Test. [cite: @boehme-ne=C3=9Fler2017unscharfes-recht-digi= tal p. 3033] Zweiter Satz. > Noch ein Test. [cite: @akbarian2020oeffentliche-raeume] [...] > juristische-zitierweise.csl is a style for longer judicial works and > available from the CSL repository at https://github.com/citation-style-la= nguage/styles/blob/e22b8a566bad9b4c7f52720f60dd875057a5d210/juristische-zit= ierweise.csl. > > Given that test.org spefies =E2=80=9C#+LANGUAGE: de=E2=80=9D, I would exp= ect that > exporting uses the German terms and date format. However, exporting e.g. > to HTML gives this in the bibliography: > > Akbarian, Samira, An einen, der vor=C3=BCberfuhr, Stand: December 14, > 2020, https://verfassungsblog.de/an-einen-der-voruberfuhr/ > (accessed 01/02/2021).=07 > > The correctly German word =E2=80=9CStand=E2=80=9D is hardcoded in > juristische-zitierweise.el, so ignore that one for a moment. Other than > that, you will notice that the date format is US English. This should > not be the case.=20 I think you need to provide locales in addition to the style file, see `org-cite-csl-locales-dir'. Regards, --=20 Nicolas Goaziou