Roumen Petrov wrote:
Hi all,

Function setlocale (file ./src/indent.c) is called when "#if defined
(HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES) && defined (HAVE_LCCTYPES)".
As I could not found any m4-macro that test for LCCTYPES it seems to me
setlocale is called anymore and all translations stop to work.

Lets try to remove defined (HAVE_LCCTYPES) and to rebuild.

Now problem is by example that Cyrillic translations don't work as
expected. All Cyrillic characters are replaces by '?'. The gnutext
documentation sample use setlocale(LC_ALL, ... instead of
setlocale(LC_MESSAGES... . No idea where is problem.

Note in my environment indent is updated to gettext version 0.17 and
with this version translation of all other tested projects work well.
Also gettext use setlocale(LC_ALL,.. .

What about to remove defined (HAVE_LCCTYPES) and to use
setlocale(LC_ALL,. ?

Roumen

Today the above is reported again . Where is source repository ? I would like to prepare a patch to this issue .

Roumen


_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to