Help .pot file is not being generated

Bug #35403 reported by Carlos Perelló Marín
14
Affects Status Importance Assigned to Milestone
cdbs (Ubuntu)
Fix Released
Medium
Martin Pitt
gucharmap (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

Hi, while processing dapper translations into Rosetta I detected that this package has the help using .po files.

It's being common that GNOME packages use .pot/.po files to translate documentation so we should handle it the same way we handle normal .pot files.

Take a look at help/ for the Makefile that controls it.

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

I forgot to note that this is a bug because the .pot file is not generated and thus, we cannot import it into Rosetta.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Martin, do you think we should hack CDBS to "cd help; make pot" for packages using gnome-doc-utils or just patch them? There is 20 main packages using it

Changed in gucharmap:
assignee: nobody → seb128
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

I would be fine with adding that to gnome.mk. If we can factor out changes to a central location, we should do that by all means. However, the 20 packages still need to be rebuilt.

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

What will happen with those translations?

Will they end as part of language packs?

They are to generate documentation translations

Martin Pitt (pitti)
Changed in cdbs:
assignee: nobody → pitti
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

> Will they end as part of language packs?

Since language packs are not used for translating help (help files don't use gettext at runtime; at most at build time, but I even doubt that), it doesn't make sense.

So I think the doc team should be able to pull them manually, but they shouldn't end up in the rosetta language pack tarball. Carlos, is that possible?

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

Sorry, when I said language packs I would mean a kind of language pack for documentation.

Do we have such thing?

Of course I can disable those .po files so we don't get them on usual language packs.

Revision history for this message
Martin Pitt (pitti) wrote :

@carlos: disabling them for the normal langpack export would be helpful.

I see no problems with generating pot files as part of cdbs' langpack.mk.

Revision history for this message
Martin Pitt (pitti) wrote :

 cdbs (0.4.32ubuntu20) dapper; urgency=low
 .
   * langpack.mk.in: Try to build POT file in help/. Closes: LP#35403

Changed in cdbs:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

 gucharmap (1:1.6.0-0ubuntu2) dapper; urgency=low
 .
   * Rebuild so the cdbs magic will build a .pot for the help directory
     (Ubuntu: #35403)

Changed in gucharmap:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.