[gfortran,patch] Internationalisation of the Fortran front-end

François-Xavier Coudert fxcoudert@gmail.com
Thu Sep 1 09:43:00 GMT 2005


> You appear to have used gmsgid for these functions so the messages are
> marked as gcc-internal-format in gcc.pot.  This is otherwise used for
> pretty-print.c formats (with front-end extensions).  Does gettext 0.14.5
> understand the gfortran internal formats (so it can check translations
> keep the same formats as the original message) with gcc-internal-format?

No, gettext doesn't understand the gfortran internal formats. What
would be the best course? Do we need to create a
gfortran-internal-format (and the, adding support for it in gettext)?
I think this is a bit too much. Perhaps these messages should not get
marked as special formats.

> The first two lines of --version output (with version number and copyright
> notice) should not be translated; only the copyright symbol should be
> translated as _("(C)") so it becomes a copyright symbol in locales with
> one in their character set.  See other --version code for examples.

I do see in gcc.c:

          printf (_("%s (GCC) %s\n"), programname, version_string);
          printf ("Copyright %s 2005 Free Software Foundation,
Inc.\n", _("(C)"));

Does that mean that "GCC" is supposed to be translated?

FX



More information about the Fortran mailing list