From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josiah Schwab Subject: Re: Bug: Spell checking language not set correctly when exporting to ODT [9.1.13 (9.1.13-elpa @ /home/christoph/.emacs.d/elpa/org-20180514/)] Date: Thu, 17 May 2018 09:03:16 -0700 Message-ID: <871sea5kxn.fsf@gmail.com> References: <1526505591.22333.4.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJLNL-0003NN-R6 for emacs-orgmode@gnu.org; Thu, 17 May 2018 12:03:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJLNH-0002xS-B4 for emacs-orgmode@gnu.org; Thu, 17 May 2018 12:03:31 -0400 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:42644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJLNH-0002xD-5X for emacs-orgmode@gnu.org; Thu, 17 May 2018 12:03:27 -0400 Received: by mail-pf0-x22c.google.com with SMTP id p14-v6so2312838pfh.9 for ; Thu, 17 May 2018 09:03:26 -0700 (PDT) In-reply-to: <1526505591.22333.4.camel@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Christoph Michelbach Cc: emacs-orgmode@gnu.org Hi Christoph, > When exporting an org document to ODT, the language used for spell checking is > always set to British English. The TOC's name is actually translated to the > language specified in the org document but the spell checking language is not > set correctly. It is particularly weird that it is set to British English > instead of American English because American English is the default pretty much > anywhere. This comes with the caveat that I've never used the ODT exporter, but I believe this language setting enters via the default ODT styles file OrgOdtStyles.xml. (I see some country="GB" strings in there.) You could make a copy of this file, change the assumed country, and then use the modified version by setting org-odt-styles-file. Hope that helps, Josiah