From: Andreas Roehler <andreas.roehler@easy-emacs.de>
Subject: calendar m17n
Date: Thu, 14 Sep 2006 09:31:30 +0200 [thread overview]
Message-ID: <45090552.3030606@easy-emacs.de> (raw)
Hi,
I'm looking for a way to localize names in calendar.el.
Below an example with German names.
As there will exist several lists already with names in
different languages, seems no need to collect it from
the scratch.
It's just to find and pick the right one. Could someone
give me a hint, where to collect it respecting GPl
questions?
Thanks!
__
Andreas Roehler
(defun calendar-local-names ()
"Read months and days in your mothers tongue"
(interactive)
(let ((lang (getenv "LANG")))
(cond ((string-match "\\(de\\)\\|\\(DE\\)" lang)
(message "%s" (format "%s" (match-string 0 lang)))
(setq calendar-day-name-array
["Sonntag" "Montag" "Dienstag" "Mittwoch" "Donnerstag"
"Freitag" "Samstag"])
(setq calendar-month-name-array
["Januar" "Februar" "März" "April" "Mai" "Juni" "Juli" "August"
"September" "Oktober" "November" "Dezember"])))))
next reply other threads:[~2006-09-14 7:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 7:31 Andreas Roehler [this message]
2006-09-14 8:43 ` calendar m17n Reiner Steib
2006-09-14 8:52 ` Andreas Schwab
2006-09-14 15:39 ` Kevin Rodgers
2006-09-14 18:56 ` Andreas Roehler
2006-09-15 17:38 ` Glenn Morris
2006-09-15 17:48 ` Kevin Rodgers
2006-09-16 7:21 ` Andreas Roehler
2006-09-16 11:08 ` Eli Zaretskii
2006-09-16 19:05 ` Richard Stallman
2006-09-24 12:53 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45090552.3030606@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.