Re: [poedit-users] Poedit not updating comments on Update from POT file

Václav Slavík <[email protected]> Tue, 19 Apr 2011 09:04:37 +0200
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
Hi,

On 18 Apr 2011, at 20:21, [email protected] wrote:
> Am I missing an option someplace or should this be entered as and enhancement request?

Neither. You are misunderstanding how gettext is meant to work and the first course of action would be to read the GNU gettext manual. It is quite good and explains the concepts well.

In short (you should still read the manual, though!), POT files are not meant to be edited like this, they are *generated* automatically from source code.

As a consequence, you don't manually put comments into a POT file. The comments that you can add to entries in a PO (not POT) file are *translator's* comments, specific to this translation and meant to explain problems etc., they're translator's work notes. They have no relevancy to translations into other languages.

If you want to have some comments present in all translations (e.g. explanation of terms specific to your app, instructions for translators, ...), then you need to use specially formatted comments in the source code. That's because POT files are, yes, generated automatically from source code. The gettext manual explains this in detail. Do have a look.

Regards,
Vaclav
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev