Mail Archives: djgpp-announce/2000/07/07/16:43:13
This is a port of GNU Gettext 0.10.35 to MSDOS/DJGPP.
GNU Gettext provides a library and the tools needed to internationalize
your programs. Please refer to the info docs for further information about
NLS (national language support) and to the file ABOUT-NLS, located in the
top srcdir of gettext, to see which GNU packages offers NLS.
You can download the binaries,docs and sources from SimtelNET and mirrors as:
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gtxt035b.zip
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gtxt035d.zip
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gtxt035s.zip
The DJGPP specific changes are the followings:
1) The conflict existing between the gettext function from DJGPP's libc.a
defined in conio.h and the gettext function from libintl.a has been
removed. The gettext() stub in intl-comp.c has been defined out and
a macro, that will expand to gettext__, has been introduced in intlh_inst.in
(libintl.h when installed in $DJDIR/include).
The gettext function is now available as gettext or gettext__.
2) xgettext will recognise gettext__ as new keyword.
3) All other changes concern the BINARY/TEXT file issue, path separator
(semi-colon instead of colon) issue and the directory separator issue.
All programs that read text files (like the .po files) will read and
write in binary mode. This should prevent possible difficulties with
embedded Cntl-Z and CR caracters in multi-byte strings. MSDOS-style EOL
(CR/LF) in text files will be converted internally into UNIX-style EOL.
Some minor modifications to the files in tests subdirectory
to get them working with plain DOS.
All changes I have done against the original GNU distribution
are documented in the diffs file stored in the DJGPP subdir of
the source package.
4) This package contains all needed files to get NLS support for the
following DJGPP ports:
bison-1.28 (bsn128s.zip)
fileutils-3.16 (fil316s.zip)
grep-2.4 (grep24s.zip)
recode-3.5 (rcode35s.zip)
sh-utils-2.0i (shl20i.zip)
tar-1.12a (tar112as.zip)
texinfo-4.0 (txi40s.zip)
textutils-2.0 (txt20s.zip)
See section #5 in the readme file for further information.
Apart from gtxt035b.zip *and* gtxt035s.zip you *must* also
download rcode35b.zip if you want to implement NLS support
for one of those packages.
rcode35b.zip is available at:
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/rcode35b.zip
Of course you can expect that the programs of this package talk to you
in your mother tongue, if supported.
Send suggestions and bug-reports to comp.os.msdos.djgpp or djgpp AT delorie DOT com
- Raw text -