Re: Encoding and i18n

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Encoding and i18n
Date: 2007-10-07 04:10:19
Message-ID: 47085C2B.6070001@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark wrote:

> It seems to me we aren't actually using strftime any more in any case. We seem
> to be using things like _("Monday") instead. Except in my tests I don't get
> any French dates even when the server is started in French mode. I think we
> just don't have localizations for those strings yet.
>
This was already discussed [1]. I proposed a patch (that was rejected)
because it calls setlocale() in every template pattern in to_char()
IIRC. I coded a patch to implement the setlocale() caching mechanism but
didn't send it. :( I'll take a look and this.

[1] http://archives.postgresql.org/pgsql-hackers/2006-11/msg00523.php

--
Euler Taveira de Oliveira
http://www.timbira.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2007-10-07 23:32:19 pgsql: Added the Skytools extended transaction ID module to contrib as
Previous Message Andrew Dunstan 2007-10-07 03:50:39 Re: ECPG regression tests