Bug 430340 - i18n: POT creation fails
i18n: POT creation fails
Product: Fedora
Classification: Fedora
Component: system-config-network (Show other bugs)
All Linux
high Severity low
: ---
: ---
Assigned To: Harald Hoyer
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-01-26 08:18 EST by Dimitris Glezos
Modified: 2008-03-31 06:41 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-31 06:41:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dimitris Glezos 2008-01-26 08:18:39 EST
## Description of problem:

There are some files missing from POTFILES.{in,skip} that cause intltool (and
our translation statistics website) to choke. We need to make sure `intltool -r`
never complains, otherwise translators can't work.

$ intltool-update -r
/usr/bin/xgettext: error while opening "./../src/version.py" for reading: No
such file or directory
ERROR: xgettext failed to generate PO template file. Please consult
       error message above if there is any.

For more information, see the following FAQ:
Comment 1 Harald Hoyer 2008-01-28 06:25:50 EST
hmm, version.py as well as some *.desktop files are only created after:

$ configure
$ make

Comment 2 Dimitris Glezos 2008-01-28 07:16:38 EST
Aha, makes sense. But the tools (intltool, statistics interface) and translators
don't know about that, so they'll be faced with a problem here.

Maybe it can be fixed with other intltool based tools like `intltool-prepare`
etc? Any idea on how other projects handle this?

If it can't be fixed on the toolchain layer, maybe we could just have those
files added in the VCS and overwritten when configure/make is called.
Comment 3 Harald Hoyer 2008-02-21 11:40:36 EST
should be fixed

Note You need to log in before you can comment on or make changes to this bug.