Hi Nathan, Nathan Scott [2006-06-29 13:19 +1000]: > - the acl.pot file is actually only used as the starting point of > a new translation. It exists only in the source package, and is > not installed anywhere, ever. Its generated from the source code.
Correct. We use the file generated at build time for automatic Rosetta import. > - the {de,fr,pl,sv}.po files are alot more interesting - they are > the actual translations of the .pot file to other (non-english) > languages. Correct. > - in the case of the acl packages, all of the .po files do actually > have the header at the start, with all the interesting metadata. Right. > So, can you explain for me why "the POT file needs a header to be > imported properly"? Imported into what? Rosetta so far, but it is basically the same if you start a new translation manually: a .po file needs a correct header (dates and encoding are essential, author etc. are nice to have), and giving users a template to fill out makes life easier for them. > Its not a translation, so on its own is uninteresting... The important thing about a .pot is that the msgid's are current. As soon as you change a string, or add a Debian specific string, the change must be reflected in the .pot, so that tools for translation pick up the change. > I can imagine the need to import the > .po files into something, but don't understand why the .pot file > would be... and, as mentioned before, the .po files have headers > already. .po files can have old, obsolete, and missing translations. Only the POT file is guraranteed to have a current set of msgid's (or, rather, we fixed packages so that this assertion became true). Thanks, Martin P.S. BTW, if you are reluctant to make this change, we can carry the patch in Ubuntu with relatively little effort. It just stops us from just using the Debian package as-is (and makes Rosetta less useful for Debian). -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntulinux.org Debian Developer http://www.debian.org
signature.asc
Description: Digital signature