Submitted by : nachtigall at: 2005-04-26T12:06:18+00:00 (12 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

I'd like to update the german translation, however zwiki.pot seems to be out of date, e.g. the msgid in the preview section of the editform are not included (and probably much more).

Cf HowToUpdateZwikiPotFile.


comments:

fixed --simon, Thu, 28 Apr 2005 15:44:06 -0700 reply
Status: open => closed

Default comments of pot did not go into po file -- Sat, 30 Apr 2005 00:41:16 -0700 reply

The default comments of zwiki.pot did not make it into zwiki-.po
This will very likely cause wrong translations.

For example: FROM ZWIKI.POT: #: i/skins/zwiki_plone/backlinks.pt:88 #: i/skins/standard/backlinks.pt:111 # Default: "" # "You can set this page's parent(s) to place it within the overall page\n" # "hierarchy. Check one or more checkboxes or enter a page name here:" msgid "backlinks_reparent_help" msgstr ""

#: i/skins/zwiki_plone/backlinks.pt:95 #: i/skins/standard/backlinks.pt:118 # Default: "and click" msgid "backlinks_reparent_help2" msgstr ""

Compare to zwiki-de.po: # Default: "" # "You can change this page's parent(s) to place it within the overall page\n" # "hierarchy. Check the boxes or enter a new page name and click Reparent.\n" # "A single parent is usually sufficient." #: i/skins/zwiki_plone/backlinks.pt:88 i/skins/standard/backlinks.pt:111 msgid "backlinks_reparent_help" msgstr "" "Sie können diese Seite anderen Seiten in der Hierarchie unterordnen. " "Aktivieren Sie dazu eines der Kästchen oder geben Sie den Namen einer " "anderen Seite ein und klicken Sie dann auf Unterordnen. In den meisten " "Fällen genügt eine übergeordnete Seite."

# Default: "" # "You can change this page's parent(s) to place it within the overall page\n" # "hierarchy. Check the boxes or enter a new page name and click Reparent.\n" # "A single parent is usually sufficient." #: i/skins/zwiki_plone/backlinks.pt:95 i/skins/standard/backlinks.pt:118 #, fuzzy msgid "backlinks_reparent_help2" msgstr "" "Sie können diese Seite anderen Seiten in der Hierarchie unterordnen. " "Aktivieren Sie dazu eines der Kästchen oder geben Sie den Namen einer " "anderen Seite ein und klicken Sie dann auf Unterordnen. In den meisten " "Fällen genügt eine übergeordnete Seite."

Another example would be "grep -10 subscribe_desc zwiki-fr.po zwiki.pot"

This very likely means that translation will get wrong, since the reference is not right.

Sorry for only reporting it and not sending a patch, but I don't know much about msgmerge. msgmerge says in its man-page: comments will be preserved, but extracted comments and file positions will be discarded.

I don't know how to overcome this.

default comments (ie the english original) are not updated in po files -- Sat, 30 Apr 2005 00:42:16 -0700 reply
Status: closed => open

thanks --simon, Sat, 30 Apr 2005 08:14:13 -0700 reply
thanks for catching this. Sounds like a problem with the newer version of ZopeWiki:i18nextract I used.

... --simon, Sun, 01 May 2005 09:32:35 -0700 reply
Correct me if I'm wrong.. I think the problem we're seeing here is that the # Default: ... comments in po files are not being updated according to the latest in zwiki.pot.

a fix --simon, Sun, 01 May 2005 10:25:11 -0700 reply
Interesting. According to the GNU gettext manual:

   Comments not having whitespace after the initial `#', for example,
 those beginning with `#.' or `#:', are _not_ translator comments, they
 are exclusively created by other `gettext' tools.  So, the commands
 below will never alter such system added comments, they are not meant
 for the translator to modify.  *Note PO Files::.

So all the # Default comments are considered translator comments and never updated. Perhaps this was always the case ?

It seems that the fix is to make i18nextract write these as #. Default ... in the pot file. I've verified that msgmerge will update these, patched i18nextract , and regenerated the pot and po files.

property change --simon, Sun, 01 May 2005 10:37:33 -0700 reply
Status: open => closed

... --EmmaLaurijssens, Wed, 25 Oct 2006 00:14:03 -0700 reply
Name: #1093 ramona => #1093 default comments are not updated in po files Category: user-editing-plaintext => general-i18n Severity: critical => normal Status: open => closed