emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calendar m17n


From: Andreas Roehler
Subject: Re: calendar m17n
Date: Thu, 14 Sep 2006 20:56:28 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060516)


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








reply via email to

[Prev in Thread] Current Thread [Next in Thread]