[Top][All Lists]

[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 (X11/20060516)

It's just to find and pick the right one. Could someone
give me a hint, where to collect it respecting GPl

You could read it from the output of "locale day" and "locale mon".


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 ()
 " "
 (when calendar-use-locales
     (setq calendar-day-name-array (locale-info 'days))
     (setq calendar-month-name-array (locale-info 'months)))))
;;  with $LANG=de_DE.UTF-8

GNU Emacs (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]