bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feature: msgfmt should not include messages if msgid==msgstr


From: Simos Xenitellis
Subject: Feature: msgfmt should not include messages if msgid==msgstr
Date: Thu, 19 Jul 2007 15:45:04 +0100

Hi,
I did not find a bugzilla for gettext and I only got this e-mail
address.

The are several use cases where a translator will choose to copy the
msgid to msgstr, instead of translating to something in the local
language.

For example, a translator may choose that a message does not need to be
translated, so by copying msgid to msgstr, she will be able to know that
that message has been worked on.

The problem then comes with msgfmt which compiles in messages where
msgid == msgstr. 

What should be done is for msgfmt to check if a translation really needs
to be included (whether msgid==msgstr), and try not to include those
messages.

This functionality can be also added to msgattrib, though I believe that
msgfmt would be the main point on solving this issue.

To provide some figures, the en_GB translations in Ubuntu Linux takes up
~26MB though a fraction of the size is really necessary.

Simos Xenitellis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]