From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0OliGudkU18kAgAA0tVLHw (envelope-from ) for ; Sat, 05 Sep 2020 10:13:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2OU1FudkU1/cawAAbx9fmQ (envelope-from ) for ; Sat, 05 Sep 2020 10:13:59 +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 DF2E89403C9 for ; Sat, 5 Sep 2020 10:13:58 +0000 (UTC) Received: from localhost ([::1]:59980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEVCm-0006cM-Qe for larch@yhetil.org; Sat, 05 Sep 2020 06:13:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEVCS-0006c7-VO for emacs-orgmode@gnu.org; Sat, 05 Sep 2020 06:13:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:32818) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEVCR-0001Um-NX; Sat, 05 Sep 2020 06:13:35 -0400 Received: from lns-bzn-32-82-254-31-120.adsl.proxad.net ([82.254.31.120]:50696 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kEVCP-0000zw-Ph; Sat, 05 Sep 2020 06:13:35 -0400 Received: by guerry (Postfix, from userid 1000) id 928BE1A60D46; Sat, 5 Sep 2020 12:13:31 +0200 (CEST) From: Bastien To: Marvin =?utf-8?B?4oCYcXVpbnR1c+KAmSBHw7xsa2Vy?= Subject: Re: Bug: ODT exporter does not honour +LANGUAGE line [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] Organization: GNU References: <87pn7x9s62.fsf@guelker.eu> Date: Sat, 05 Sep 2020 12:13:31 +0200 In-Reply-To: <87pn7x9s62.fsf@guelker.eu> ("Marvin =?utf-8?Q?=E2=80=98quint?= =?utf-8?Q?us=E2=80=99_G=C3=BClker=22's?= message of "Tue, 11 Aug 2020 16:24:37 +0200") Message-ID: <87h7sc5y5w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 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-Spam-Score: -1.01 X-TUID: dR3AyiVBXAeK Hi Marvin, =E2=80=98quintus=E2=80=99 G=C3=BClker writes: > the ODT exporter always exports as English, even if a document is not > written in English and contains a corresponding +LANGUAGE line.=20 thanks for reporting this. AFAIK, the language of an ODT document is set through the document style. When exporting from Org, that would be OrgOdtStyles.xml : https://code.orgmode.org/bzg/org-mode/src/master/etc/styles/OrgOdtStyles.xm= l#L20 You can use your own style (see the manual) but you are right that this is independent from setting the langage through #+LANGUAGE. HTH, --=20 Bastien