Re: Problem with error messages - Mailing list pgsql-translators

From Peter Eisentraut
Subject Re: Problem with error messages
Date
Msg-id 2177748d-ff90-535c-080c-5ee0f399f4af@2ndquadrant.com
Whole thread Raw
In response to Re: Problem with error messages  (Alexander Law <exclusion@gmail.com>)
Responses Re: Problem with error messages  (Alexander Law <exclusion@gmail.com>)
List pgsql-translators
On 7/20/16 2:34 AM, Alexander Law wrote:
> I think we shouldn't leave them with the untranslated messages, instead
> we just should TRANSLIT option of iconv.
> For example:
>
>>echo 'HINWEIS: Tabelle »mickeymouse« existiert nicht, wird übersprungen' | iconv -f UTF-8 -t ASCII
> HINWEIS: Tabelle iconv: illegal input sequence at position 17
>
> But
>
>>echo 'HINWEIS: Tabelle »mickeymouse« existiert nicht, wird übersprungen' | iconv -f UTF-8 -t ASCII//TRANSLIT
> HINWEIS: Tabelle >>mickeymouse<< existiert nicht, wird ubersprungen
>
> Is much better and still better than to show untranslated message with
> the notice about failed conversion.

Right, but we don't have that functionality in PostgreSQL.  It would
have to be implemented, and the transliteration tables provided.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-translators by date:

Previous
From: Alexander Law
Date:
Subject: Re: Problem with error messages
Next
From: Alexander Law
Date:
Subject: Re: Problem with error messages