rosetta not filling in all of .po header
Valient Gough
vgough at pobox.com
Sat Dec 25 18:22:39 CST 2004
I've just started using Rosetta to allow users to add translations for
my program. It is not a very commonly used program, but the users are
scattered all over the world. Thanks for creating the rosetta
interface!
So far I've seen two problems:
1. rosetta doesn't update all fields in the header, which causes an
error from gettext's msgfmt command.
Output when I build the a po file from rosetta (note that this is a
default setup taken from gettext examples):
> make es.gmo
rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po
/usr/bin/msgfmt: es.po: some header fields still have the initial
default value
/usr/bin/msgfmt: es.po: warning: PO file header fuzzy
warning: older versions of msgfmt will give an
error onthis
/usr/bin/msgfmt: found 1 fatal error
The error is due to the uninitialized header fields:
"Report-Msgid-Bugs-To: FULL NAME <EMAIL at ADDRESS>\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
2. Rosetta uses special characters to show blank spaces in the text to
be translated. It would be nice if these were translated into real
spaces when exporting a PO file. I see those special characters in the
PO file because users seem to cut-and-paste in order to get the right
number of spaces. So if would be convenient if they were translated
back transparently.
regards,
Valient
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ubuntu.com/archives/rosetta-users/attachments/20041226/c2bff08a/attachment.htm
More information about the rosetta-users
mailing list