From: Andreas Roehler <andreas.roehler@easy-emacs.de>
Cc: Reiner Steib <reinersteib+gmane@imap.cc>,
Richard Stallman <rms@gnu.org>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: calendar m17n
Date: Thu, 14 Sep 2006 20:56:28 +0200 [thread overview]
Message-ID: <4509A5DC.50607@easy-emacs.de> (raw)
In-Reply-To: <jed59yesog.fsf@sykes.suse.de>
>> It's just to find and pick the right one. Could someone
>> give me a hint, where to collect it respecting GPl
>> questions?
>>
>
> You could read it from the output of "locale day" and "locale mon".
>
> Andreas.
>
>
Thanks all for your useful hints. Here an already working draft:
;; (defcustom calendar-use-locales nil
;; "Use local names of day and month"
;; :type 'boolean
;; :group 'calendar)
(setq calendar-use-locales t)
(defun calendar-use-locales-function ()
" "
(interactive)
(when calendar-use-locales
(progn
(setq calendar-day-name-array (locale-info 'days))
(setq calendar-month-name-array (locale-info 'months)))))
;; with $LANG=de_DE.UTF-8
GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2006-09-11
Would be nice to hear from users with different languages.
__
Andreas Roehler
next prev parent reply other threads:[~2006-09-14 18:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 7:31 calendar m17n Andreas Roehler
2006-09-14 8:43 ` Reiner Steib
2006-09-14 8:52 ` Andreas Schwab
2006-09-14 15:39 ` Kevin Rodgers
2006-09-14 18:56 ` Andreas Roehler [this message]
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=4509A5DC.50607@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=emacs-devel@gnu.org \
--cc=reinersteib+gmane@imap.cc \
--cc=rms@gnu.org \
/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.