Hello. In pg_upgrade, prep statuts is shown in English even if LANG is set to other languages.
$ LANG=ja_JP.UTF8 pg_upgrade ... <"Performing Consistency Checks on Old Live Server" in Japanese> -------------------------------------------------- Checking cluster versions ok Checking database user is the install user ok Checking database connection settings ok Checking for prepared transactions ok ... <"*Clusters are compatible*" in Japanese> prep_status is marked as GETTEXT_TRIGGERS but actually doesn't translate. I suppose the reason is we don't have a general and portable means to align the message strings containing non-ascii characters. I'd like to propose to append " ... " instead of aligning messages. Checking cluster versions ... ok Checking database user is the install user ... ok Checking database connection settings ... ok Checking for prepared transactions ... ok If we don't do that, translation lines in po files are useless. prep_stauts must be removed from TETTEXT_TRIGGERS, and a comment that explains the reason for not translating. Any opinions? regardes. -- Kyotaro Horiguchi NTT Open Source Software Center
0001-Change-format-of-prep-status-of-pg_upgrade.patch
Description: Binary data