* org-agenda list on other language than english
@ 2019-08-10 14:30 Andrés Ramírez
2019-08-11 19:19 ` Thomas Plass
0 siblings, 1 reply; 3+ messages in thread
From: Andrés Ramírez @ 2019-08-10 14:30 UTC (permalink / raw)
To: emacs-orgmode
Hi.
Would it be possibe to render agenda in other language than English.
Convert from this:
--8<---------------cut here---------------start------------->8---
10 days-agenda (W32-W33):
Wednesday 7 August 2019
Thursday 8 August 2019
Friday 9 August 2019
Saturday 10 August 2019
Sunday 11 August 2019
Monday 12 August 2019 W33
Tuesday 13 August 2019
Wednesday 14 August 2019
Thursday 15 August 2019
Friday 16 August 2019
--8<---------------cut here---------------end--------------->8---
To this (Spanish):
--8<---------------cut here---------------start------------->8---
10 dias-agenda (W32-W33):
Miercoles 7 Agosto 2019
Jueves 8 Agosto 2019
Viernes 9 Agosto 2019
Sabado 10 Agosto 2019
Domingo 11 Agosto 2019
Lunes 12 Agosto 2019 W33
Martes 13 Agosto 2019
Miercoles 14 Agosto 2019
Jueves 15 Agosto 2019
Viernes 16 Agosto 2019
--8<---------------cut here---------------end--------------->8---
If that is not implemented. Any suggestions where could I do the replacements?.
BR
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-agenda list on other language than english
2019-08-10 14:30 org-agenda list on other language than english Andrés Ramírez
@ 2019-08-11 19:19 ` Thomas Plass
2019-08-12 3:37 ` andrés ramírez
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Plass @ 2019-08-11 19:19 UTC (permalink / raw)
To: rrandresf; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-agenda list on other language than english
2019-08-11 19:19 ` Thomas Plass
@ 2019-08-12 3:37 ` andrés ramírez
0 siblings, 0 replies; 3+ messages in thread
From: andrés ramírez @ 2019-08-12 3:37 UTC (permalink / raw)
To: Thomas Plass; +Cc: emacs-orgmode
Hi Thomas.
Thomas> Localised day and month names are taken from your (apparently
Thomas> missing) calendar setup. Make sure that your startup file
Thomas> setq's at least these two variables:
Thomas> - calendar-month-name-array - calendar-day-name-array (starts
Thomas> with $SUNDAY)
Thomas> Also, it might be advisable to set calendar-date-style (to
Thomas> 'european in my case).
Thanks. That was what I was looking for.
Best Regards
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-12 3:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-10 14:30 org-agenda list on other language than english Andrés Ramírez
2019-08-11 19:19 ` Thomas Plass
2019-08-12 3:37 ` andrés ramírez
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).