[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to change language of format-date-string
From: |
Philipp Stephani |
Subject: |
Re: how to change language of format-date-string |
Date: |
Sat, 21 Mar 2015 08:21:07 +0000 |
Rasmus <rasmus@gmx.us> schrieb am Sa., 21. März 2015 um 02:51 Uhr:
> Hi,
>
> I would like to change the language that format-date-string assumes, as my
> OS is not in English for leaning purposes. I tried to issue
> (set-language-environment "English"), but this does not seem to have an
> effect.
>
>
You need set-locale-environment, which sets more locale properties:
(set-locale-environment "en_US.UTF-8")
If you only want to change the language for format-time-string, use the
system-time-locale variable:
(setq system-time-locale "da_DK.UTF-8")
Re: how to change language of format-date-string, Eli Zaretskii, 2015/03/21
Message not available