bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext binaries for Cygwin


From: address@hidden
Subject: Re: gettext binaries for Cygwin
Date: Fri, 6 Dec 2024 00:04:35 -0700
User-agent: Mozilla Thunderbird

On 2024-12-05 12:12, Denis Excoffier wrote:

On 2024-12-05 03:50, Brian wrote:

Denis,

could you please run the commands:

$ echo LANG "$LANG" CTYPE "$LC_CTYPE" ALL "$LC_ALL"
$ locale
$ for o in s u f i n; do echo "locale -$o: `locale -$o`"; done

and post your results for comparison to mine and Brunos' as a small sample?

Here are my results:

$ echo LANG "$LANG" CTYPE "$LC_CTYPE" ALL "$LC_ALL"
LANG  CTYPE fr_FR@euro ALL
$ locale
LANG=
LC_CTYPE="fr_FR@euro"
LC_NUMERIC="C.UTF-8"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_ALL=
$ for o in s u f i n; do echo "locale -$o: `locale -$o`"; done
locale -s: fr_FR
locale -u: fr_FR
locale -f: fr_FR
locale -i: fr_FR
locale -n: fr_FR

Your system looks like French language edition and environment categories are set in your profile?

$ /.../my/gettext/bin/xgettext.exe --version
xgettext (GNU gettext-tools) 0.23
Copyright (C) 1995-2024 Free Software Foundation, Inc.
Licence GPLv3+ : GNU GPL version 3 ou ultérieure 
<https://gnu.org/licenses/gpl.html>
Ceci est un logiciel libre : vous pouvez le modifier et le redistribuer.
Il n'y a PAS DE GARANTIE, dans la mesure de ce que permet la loi.
Écrit par Ulrich Drepper.
$ /.../my/coreutils/bin/ls --version
ls (GNU coreutils) 9.5
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard M. Stallman and David MacKenzie.
$

I added the last 2 commands to show how gettext is different from, say, ls 
(which is also compiled directly from vanilla code).

I will have to see what works with these packages, as the intent is to have the packages obey the locale, which seems to be working in your (unpatched?) gettext, but I can not get anything but man pages to vary by locale settings.

It is woeful how few packages have doc translations (or Cygwin? packages) as coreutils and some other GNU packages have translated messages but no info, man, --help or --version text that I can generate; no GNU info pages at all AFAICS; only man pages for itself, po4a document translation tools, lz/xz de-/compressors.

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry



reply via email to

[Prev in Thread] Current Thread [Next in Thread]