i18n coding issues displaying postgresql-8.4 server messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Incomplete
|
Low
|
Ubuntu Spanish Translators | ||
postgresql-8.4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgresql-8.4
Postgresql-8.4 on Lucid has a i18n coding issues when displays server messages.
postgresql-8.4 template is fully translated into Spanish in Launchpad:
and the translations are included in the /usr/share/
Among others, the error messages about "authentication failed" are fully translated, as you can see here:
For example, the string:
password authentication failed for user "%s"
is translated into Spanish this way:
la autentificación password falló para el usuario «%s»
However, if I do a mistake during authentication, the server shows the error message in this way:
ricardo@kadath:~$ psql -U ricardo datos
Contraseña para usuario ricardo:
psql: FATAL: la autentificaci?n password fall? para el usuario <<ricardo>>
Please, note:
1. The ó char is replaced by ?.
2. The « and » chars has been replaced by << and >>.
Another example: the string:
database "%s" does not exist
is translated into Spanish as
no existe la base de datos «%s»
as you can see here:
However, the error message is displayed like this:
ricardo@kadath:~$ psql -U ricardo datos
Contraseña para usuario ricardo:
psql: FATAL: no existe la base de datos <<datos>>
Again, the « and » chars has been replaced by << and >>.
This issue is not psql related, because I tried using pgadmin3 with the same results.
This issue can't be reproduced using postgresql-8.3 in Karmic.
As you can see, the .mo file have included the right translated message:
ricardo@kadath:~$ strings -eS /usr/share/ locale- langpack/ es/LC_MESSAGES/ postgres- 8.4.mo | grep "autentificación password"
la autentificación password falló para el usuario «%s»