Peter Eisentraut wrote:
> pei(at)bell:~$ date +%A
> Friday
>
> pei(at)bell:~$ LC_MESSAGES=de_DE(at)euro date +%A
> Friday
>
> pei(at)bell:~$ LC_TIME=de_DE(at)euro date +%A
> Freitag
>
> Is there no API to get the localized names from the C library so that LC_TIME
> takes effect?
>
What about using strftime()? So we couldn't worry about gettext
translations; "all" is localized.
Why didn't I think it before? :-)
I'll try to code a patch today later if noone objects.
PS> I was thinking about changing this for the same reasons Peter
pointed out; I didn't have the time to do it before.
--
Euler Taveira de Oliveira
http://www.timbira.com/