This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[nilgun@fide.org: the PO files contain full sentences rather than phrases]
- From: Zack Weinberg <zack at codesourcery dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Mar 2002 02:08:32 -0800
- Subject: [nilgun@fide.org: the PO files contain full sentences rather than phrases]
----- Forwarded message from Nilgün Belma Bugüner <nilgun@fide.org> -----
From: Nilgün Belma Bugüner <nilgun@fide.org>
To: Zack Weinberg <zack@codesourcery.com>
Subject: the PO files contain full sentences rather than phrases
Date: Sat, 9 Mar 2002 05:21:27 +0000
Cc: Deniz Akkus Kanca <deniz@arayan.com>
Hello,
I am the Turkish translator for gcc. When translating gcc and testing
the translation, I noticed that certain phrases, as-is, cannot be
translated into Turkish correctly. I try to give examples below, but
basically the same English phrase would translate into slightly
different Turkish phrases depending on the context. It is impossible to
figure out the context from the phrases itself and the result is
incorrect Turkish in some cases.
I would like to request that complete sentences be used instead of
incomplete phrases. This is a problem we face whenever two separate
strings are added programatically to make up what the end user sees.
For example:
The following two strings are concatenated together in the program to
make up a complete message visible to the end user.
"%s from incompatible pointer type"
"passing arg %d of `%s'"
The resulting string as printed during program execution is:
"warning: passing arg %d of `%s' from incompatible pointer type"
Translating these two phrases separately and concatenating them via the
program does not result in an intelligible Turkish sentence.
Second example:
Two strings:
"passing arg %d of `%s'"
"%s discards qualifiers from pointer target type"
The resulting string as printed during program execution is:
"passing arg %d of '%s` discards qualifiers from pointer target type
This particular sentence ends up with a correct Turkish translation when
the two strings above are translated separately into Turkish and
concatenated via the program.
As you can see, it is impossible to guarantee a correct translation when
phrases are put together by a program to make up a sentence for the end
user. Translating these phrases separately and putting them together to
make up a sentence may or may not result in a correct sentence in the
translated language.
While putting in complete sentences results potentially in higher number
of strings to be translated (as opposed to the above example where
"passing arg %d of %s" phrase is common to both sentences and is
translated just once), it actually is to be preferred because:
1. We guarantee an intelligible translated end result
2. It actually makes the job of translation easier for the translator.
More translation is done, but trying to guess at the context and hunting
for the context in the program source code is lessened.
Can you please make chnages in the gcc program source as needed so that
the PO files contain full sentences rather than phrases which are put
together by the program to make up complete sentences?
Thank you,
Nilgun
----- End forwarded message -----