mirror of
https://github.com/openharmony/third_party_gettext.git
synced 2026-07-21 00:25:49 -04:00
d5c2a5163bef808edcb4e9bef7fafedab2bf5286
* bindtextdom.c: Update copyright to use year ranges. * dcgettext.c: Update copyright to use year ranges. [_LIBC]: Use libc_hidden_def instead of INTDEF. * dcigettext.c: Update copyright to use year ranges. Test HAVE_TSEARCH with #ifdef rather than #if. (DCIGETTEXT) [_LIBC]: Use __current_locale_name instead of _current_locale_name. * dcngettext.c: Update copyright to use year ranges. * dgettext.c: Update copyright to use year ranges. [_LIBC]: Remove use of INTUSE macro. * dngettext.c: Update copyright to use year ranges. * explodename.c: Likewise. * finddomain.c: Update copyright to use year ranges. (_nl_finddomain_subfreeres): Use void in no-arguments function definition. * gettext.c: Update copyright to use year ranges. [_LIBC]: Remove use of INTUSE macro. * gettextP.h: Update copyright to use year ranges. [_LIBC]: Forward declaration of struct loaded_domain. * gmo.h: Update copyright to use year ranges. * hash-string.c: Likewise. * hash-string.h: Likewise. * l10nflist.c: Update copyright to use year ranges. [_LIBC]: Remove use of INTUSE macro. Wrap pop function in [!ARCH_POP]. * loadinfo.h: Update copyright to use year ranges. * loadmsgcat.c: Likewise. * localealias.c: Update copyright to use year ranges. Test ENABLE_RELOCATABLE with #ifdef rather than #if. [_LIBC]: Use __strcasecmp_l for strcasecmp. [_LIBC]: Use __fgets_unlocked for FGETS. Test HAVE_DECL_FGETS_UNLOCKED with #ifdef rather than #if. Test HAVE_DECL_FEOF_UNLOCKED with #ifdef rather than #if. (read_alias_file) [_LIBC]: Open file with O_CLOEXEC. (extend_alias_table): Use void in no-arguments function definition. * ngettext.c: Update copyright to use year ranges. * plural-exp.c: Update copyright to use year ranges. Test __APPLE_CC__ with #ifdef rather than #if. (GERMANIC_PLURAL): Make const. (init_germanic_plural): Use void in no-arguments function definition. * plural-exp.h: Update copyright to use year ranges. (GERMANIC_PLURAL): Make const. * plural.y: Update copyright to use year ranges. * textdomain.c: Likewise.
This is the GNU gettext package. It is interesting for authors or
maintainers of other packages or programs which they want to see
internationalized. As one step the handling of messages in different
languages should be implemented. For this task GNU gettext provides
the needed tools and library functions.
It is also interesting for translators, because GNU gettext provides
the 'msgmerge' program, which prepares a message catalog before a
translation update.
Users of GNU packages should also install GNU gettext because some
other GNU packages will use the gettext program included in this
package to internationalize the messages given by shell scripts.
The homepage of this package is at
http://www.gnu.org/software/gettext/
The primary FTP site for its distribution is
ftp://ftp.gnu.org/pub/gnu/gettext/
Send comments and bug reports to
bug-gnu-gettext@gnu.org
The configure script provides a non-standard option. It is also
available in other packages that use the functionality of GNU gettext.
Use
--disable-nls
if you absolutely don't want to have messages handling code. You will
always get the original messages (mostly English). You could consider
using NLS support even when you do not need other tongues. If you do
not install any messages catalogs or do not specify to use another but
the C locale you will not get translations.
The set of languages for which catalogs should be installed can also be
specified while configuring. Of course they must be available but the
intersection of these two sets are computed automatically. You could
once and for all define in your profile/cshrc the variable LINGUAS:
(Bourne Shell) LINGUAS="de fr nl"; export LINGUAS
(C Shell) setenv LINGUAS "de fr nl"
or specify it directly while configuring
env LINGUAS="de fr nl" ./configure
Consult the manual for more information on language names.
Other files you might look into:
ABOUT-NLS - current state of the GNU internationalization effort
COPYING - copying conditions
DEPENDENCIES - list of prerequisite packages, to be installed before this one
INSTALL - general compilation and installation rules
NEWS - major changes in the current version
THANKS - list of contributors
Description
Languages
C
74.9%
Shell
10.3%
Perl
4.3%
Makefile
3.2%
M4
2.1%
Other
4.9%