[arch-general] custom localization

Morten Bo Johansen mbj at spamcop.net
Mon Apr 12 18:29:26 UTC 2021


On 2021-04-12 Klearchos-Angelos Gkountras via arch-general wrote:

> Hello archers .
>
> I want do a custom localization
>
> I am using cli on some applications .
> like neomutt for emails .
>
> my localization on /etc/locale.conf is
> LANG=el_GR.UTF-8
> the time is 12 hour format
>
> When I compose email on neomutt it showing the 12hour format
> and the πμ (am ) and μμ (pm)
>
> I tried to add LC_TIME=en_DK.UTF-8 on /etc/locale.conf  .
> but the Greek characters on neomutt wasn't showing and instead
> greek characters showing with questionmarks .
>
> Is there any way to make the time fomart to be
> 24 hour and how I will do that and in neomutt showing the greek
> characters ?

I am just shooting from the hip ...but have you specified the
right timezone? If I do 

  $ echo $TZ
	
it returns "Europe/Copenhagen", which is right for me.

If you get something weird, try to set the TZ environment
variable to "Europe/Athens"

LANG=el_GR.UTF-8 is correct. You may also want to set some of
the LC_* environment variables to the same value, e.g.
LC_MESSAGES

 Morten
 


More information about the arch-general mailing list