[gfortran,patch] Internationalisation of the Fortran front-end
Joseph S. Myers
joseph@codesourcery.com
Wed Aug 31 07:01:00 GMT 2005
On Tue, 30 Aug 2005, Richard Henderson wrote:
> On Tue, Aug 30, 2005 at 09:49:55PM +0200, FX Coudert wrote:
> > + sprintf (message, _("less than rank %d"), GFC_MAX_DIMENSIONS);
> > + must_be (source, 0, message);
>
> Things like this mean that you're essentially printing one
> message as two phrase fragments. This won't translate well.
> You need to present the entire sentence as a unit to the
> translators.
The C++ front end is full of this sort of thing. (Paolo Bonzini's patch
<http://gcc.gnu.org/ml/gcc-patches/2002-06/msg01620.html> tried to address
some such problems but I don't think any version of that patch was ever
reviewed.) Bug 15586 has comments giving some examples of this sort of
thing in gfortran; I don't know whether this patch fixes any or all of
them but don't think fixing them all can be something that blocks this
patch.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)
More information about the Fortran
mailing list