Package: man-db
Version: 2.4.3-1
Severity: minor
Tags: l10n

(This is really a separate issue from my other report.  Honest:)

In a Finnish locale, "man 2 foo" says

  Sovellukselle foo ei ole opastesivua in section 2

I'm sure you'll be able to spot the strangeness without knowing Finnish:
a part of that message is untranslated.

While an untranslated message is undoubtedly the translator's fault, in
this case I also see a programmer error.  The simple rule for a
programmer is, the smallest unit of text you should ever mark for
translation is a complete sentence (with some exceptions, which do not
apply here).  In this case, which is easily verified by looking at
ltrace output, you construct that message by calling printf twice:

fprintf(0xb7fd0f60, "Sovellukselle %s ei ole opastesi"..., "foo") = 36
dcgettext(0, 0x805a2f0, 5, 0xb7eb1f38, 0xb7ea9438) = 0x805a2f0
fprintf(0xb7fd0f60, " in section %s\n", "2")     = 14

You really shouldn't do that.  Sentence fragments are in general
impossible to translate correctly: the translator might need to put the
words that say "in section %s" in the middle of the message, instead of
in the end, like in the English.  The words thta say "in section %s" may
also depend on the sentential context, which the translator cannot see
because you have chopped the sentence into parts.

While some languages may be able to cope with this in some cases, it
isn't always possible, and it often creates bad language, which gives a
bad name to localized free software.  Please fix this!

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11-1-686
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages man-db depends on:
ii  bsdmainutils                6.1.2        collection of more utilities from 
ii  debconf [debconf-2.0]       1.4.52       Debian configuration management sy
ii  dpkg                        1.13.10      Package maintenance system for Deb
ii  groff-base                  1.18.1.1-8   GNU troff text-formatting system (
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgdbm3                    1.8.3-2      GNU dbm database routines (runtime

man-db recommends no packages.

-- debconf information:
  man-db/build-database: true
  man-db/rebuild-database: true
* man-db/install-setuid: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to