From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Org capture + datetree + language specification Date: Wed, 13 Jul 2016 16:10:47 -0400 Message-ID: <87zipls3i0.fsf@alphaville.usersys.redhat.com> References: <87zipljy79.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNQUp-0004S6-8E for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 16:11:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNQUm-00005B-3D for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 16:11:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:40226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNQUl-0008VQ-ST for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 16:11:00 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bNQUf-0002AQ-MP for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 22:10:53 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jul 2016 22:10:53 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jul 2016 22:10:53 +0200 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: emacs-orgmode@gnu.org Dominik Schrempf writes: > usually, my Org mode documents are in English. However, now I need to > create an Org document in German. I would like to use Org Capture, to > create a date tree in German (but only for this document). Is there a > way to specify this? > I don't know of any way to do that with a single emacs session. OTOH, if you are willing to use a different emacs for the German document, then starting a new emacs with $ LANG=de_DE.utf8 emacs and adding some calendar customizations to your init file (see https://www.emacswiki.org/emacs/CalendarLocalization#toc10 for details) should be enough. The agenda uses calendar functions to display dates (hence the need for calendar customization), but org-datetree uses format-time-string which (AFAICT) requires the different locale. -- Nick