other/2857: i18n, translations does not work

Philipp Thomas pthomas@suse.de
Fri May 25 02:46:00 GMT 2001


The following reply was made to PR other/2857; it has been noted by GNATS.

From: Philipp Thomas <pthomas@suse.de>
To: Dennis Bjorklund <db@zigo.dhs.org>
Cc: Mark Mitchell <mark@codesourcery.com>, zackw@Stanford.EDU,
	Gabriel.Dos-Reis@cmla.ens-cachan.fr, gcc-gnats@gcc.gnu.org,
	gcc-bugs@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: other/2857: i18n, translations does not work
Date: Fri, 25 May 2001 11:35:51 +0200

 * Dennis Bjorklund (db@zigo.dhs.org) [20010523 19:26]:
 
 >    Contains files that does not exist any more. Every
 >    time a file gets deleted or when a file that contains
 >    strings to be translated is added, one must update
 >    POTFILE.in
 
 The problem is, that you can't do the check unconditionally.
 
 As it is, POTFILES.in lists all files that contain messages, excluding only
 those files, that should not be translated because they either belong to
 tools used to create gcc (like the gen* tools) or belong to debugging
 facilities. The check as to whether POTFILES.in is current can only be made
 if you have a complete source tree. But GCC is also available in split-up
 packages, and there the check would fail.
 
 What would be needed for doing the check unconditionally is a mechanism to
 create POTFILES.in from language specific fragments. I've tried to come up
 with a solution but so far haven't succeeded.
  
 > 3. gcc.pot
 > 
 >    Can be deleted from the cvs since it can be recreated with
 >    a "make update-po" in the po directory.
 
 Yes, it can, but again *only* if you have the complete source tree.
 
 > 4. When one builds the files outside the source directory
 >    one expects that the source directory should not be
 >    altered. In the case of gcc.pot it's not true and this
 >    file is created in the source directory.
 
 I'm ATM testing patches that upgrades the i18n machinery to the current
 0.10.37 level. The Makefile.in.in will build gcc.pot in objdir.
 
 Philipp
 
 -- 
 Philipp Thomas <pthomas@suse.de>
 Development, SuSE GmbH, Deutscherrnstr. 15-19, D-90429 Nuremberg, Germany
 
 Penguins shall save the dinosaurs
                           -- Handelsblatt about Linux on S/390



More information about the Gcc-prs mailing list