emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: thunk2@arcor.de (Thomas Plass)
To: rrandresf@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: org-agenda list on other language than english
Date: Sun, 11 Aug 2019 21:19:41 +0200	[thread overview]
Message-ID: <23888.27213.489090.203221@AGAME7.local> (raw)
In-Reply-To: Your message of Saturday, August 10 2019 14:30:17 (ID: <86blwxum86.fsf@gmail.com>).

Hello,

Andrés Ramírez wrote at 14:30 on August 10, 2019:
: 
: Would it be possibe to render agenda in other language than English.

Mostly.

Localised day and month names are taken from your (apparently missing)
calendar setup.  Make sure that your startup file setq's at least
these two variables:

- calendar-month-name-array
- calendar-day-name-array (starts with $SUNDAY)

Also, it might be advisable to set calendar-date-style (to 'european
in my case).

My setup for German is this, modify for Spanish as appropriate:

(setq calendar-date-style 'european
      calendar-month-name-array ["Januar" "Februar" "März" "April" "Mai" "Juni"
                                 "Juli" "August" "September" "Oktober" "November" "Dezember"]
      calendar-day-name-array ["Sonntag" "Montag" "Dienstag" "Mittwoch"
                               "Donnerstag" "Freitag" "Samstag"]
                               )

The "days" in "10 days-agenda", however, is hard-wired.

: Convert from this:
: --8<---------------cut here---------------start------------->8---
: 10 days-agenda (W32-W33):
: Wednesday   7 August 2019
: 
: To this (Spanish):
: --8<---------------cut here---------------start------------->8---
: 10 dias-agenda (W32-W33):
: Miercoles   7 Agosto 2019

Regards

Thomas

  reply	other threads:[~2019-08-11 19:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-10 14:30 org-agenda list on other language than english Andrés Ramírez
2019-08-11 19:19 ` Thomas Plass [this message]
2019-08-12  3:37   ` andrés ramírez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23888.27213.489090.203221@AGAME7.local \
    --to=thunk2@arcor.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=rrandresf@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).