From: Bruno Haible Date: Tue, 12 Jun 2001 13:21:16 +0000 (+0000) Subject: Automatically generated documentation. X-Git-Tag: v0.11~663 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7c1a777f7e2e74f2dab84f0b33360ddfc764299;p=thirdparty%2Fgettext.git Automatically generated documentation. --- diff --git a/man/bind_textdomain_codeset.3 b/man/bind_textdomain_codeset.3 new file mode 100644 index 000000000..a25f24c89 --- /dev/null +++ b/man/bind_textdomain_codeset.3 @@ -0,0 +1,72 @@ +.\" Copyright (c) Bruno Haible +.\" +.\" This is free documentation; you can redistribute it and/or +.\" modify it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2 of +.\" the License, or (at your option) any later version. +.\" +.\" References consulted: +.\" GNU glibc-2 source code and manual +.\" GNU gettext source code and manual +.\" LI18NUX 2000 Globalization Specification +.\" +.TH BIND_TEXTDOMAIN_CODESET 3 "May 2001" "GNU gettext 0.11" +.SH NAME +bind_textdomain_codeset \- set encoding of message translations +.SH SYNOPSIS +.nf +.B #include +.sp +.BI "char * bind_textdomain_codeset (const char * " domainname , +.BI " const char * " codeset ); +.fi +.SH DESCRIPTION +The \fBbind_textdomain_codeset\fP function sets the output codeset for message +catalogs for domain \fIdomainname\fP. +.PP +A message domain is a set of translatable \fImsgid\fP messages. Usually, +every software package has its own message domain. +.PP +By default, the \fBgettext\fP family of functions returns translated messages +in the locale's character encoding, which can be retrieved as +\fBnl_langinfo(CODESET)\fP. The need for calling \fBbind_textdomain_codeset\fP +arises for programs which store strings in a locale independent way (e.g. +UTF-8) and want to avoid an extra character set conversion on the returned +translated messages. +.PP +\fIdomainname\fP must be a non-empty string. +.PP +If \fIcodeset\fP is not NULL, it must be a valid encoding name which can be +used for the \fBiconv_open\fP function. The \fBbind_textdomain_codeset\fP +function sets the output codeset for message catalogs belonging to domain +\fIdomainname\fP to \fIcodeset\fP. The function makes copies of the argument +strings as needed. +.PP +If \fIcodeset\fP is NULL, the function returns the previously set codeset for +domain \fIdomainname\fP. The default is NULL, denoting the locale's character +encoding. +.SH "RETURN VALUE" +If successful, the \fBbind_textdomain_codeset\fP function returns the current +codeset for domain \fIdomainname\fP, after possibly changing it. The resulting +string is valid until the next \fBbind_textdomain_codeset\fP call for the same +\fIdomainname\fP and must not be modified or freed. If a memory allocation +failure occurs, it sets \fBerrno\fP to \fBENOMEM\fP and returns NULL. If no +codeset has been set for domain \fIdomainname\fP, it returns NULL. +.SH ERRORS +The following error can occur, among others: +.TP +.B ENOMEM +Not enough memory available. +.SH BUGS +The return type ought to be \fBconst char *\fP, but is \fBchar *\fP to avoid +warnings in C code predating ANSI C. +.SH "SEE ALSO" +.BR gettext (3), +.BR dgettext (3), +.BR dcgettext (3), +.BR ngettext (3), +.BR dngettext (3), +.BR dcngettext (3), +.BR textdomain (3), +.BR nl_langinfo (3), +.BR iconv_open (3) diff --git a/man/bind_textdomain_codeset.3.html b/man/bind_textdomain_codeset.3.html new file mode 100644 index 000000000..beb9875c5 --- /dev/null +++ b/man/bind_textdomain_codeset.3.html @@ -0,0 +1,154 @@ + + + + +BIND_TEXTDOMAIN_CODESET + + + +

BIND_TEXTDOMAIN_CODESET

+NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+bind_textdomain_codeset - set encoding of message translations
+ +

SYNOPSIS

+ + + +
+
#include <libintl.h>
+
+char * bind_textdomain_codeset (const char * domainname,
+                                const char * codeset);
+
+ +

DESCRIPTION

+ + + +
+The bind_textdomain_codeset function sets the output +codeset for message catalogs for domain +domainname.
+ + + +
+A message domain is a set of translatable msgid +messages. Usually, every software package has its own +message domain.
+ + + +
+By default, the gettext family of functions returns +translated messages in the locale's character encoding, +which can be retrieved as nl_langinfo(CODESET). The +need for calling bind_textdomain_codeset arises for +programs which store strings in a locale independent way +(e.g. UTF-8) and want to avoid an extra character set +conversion on the returned translated messages.
+ + + +
+domainname must be a non-empty string.
+ + + +
+If codeset is not NULL, it must be a valid encoding +name which can be used for the iconv_open function. +The bind_textdomain_codeset function sets the output +codeset for message catalogs belonging to domain +domainname to codeset. The function makes +copies of the argument strings as needed.
+ + + +
+If codeset is NULL, the function returns the +previously set codeset for domain domainname. The +default is NULL, denoting the locale's character +encoding.
+ +

RETURN VALUE

+ + + +
+If successful, the bind_textdomain_codeset function +returns the current codeset for domain domainname, +after possibly changing it. The resulting string is valid +until the next bind_textdomain_codeset call for the +same domainname and must not be modified or freed. If +a memory allocation failure occurs, it sets errno to +ENOMEM and returns NULL. If no codeset has been set +for domain domainname, it returns NULL.
+ +

ERRORS

+ + + +
+The following error can occur, among others:
+ + + +
+ENOMEM
+ + + +
+Not enough memory available.
+ +

BUGS

+ + + +
+The return type ought to be const char *, but is +char * to avoid warnings in C code predating ANSI +C.
+ +

SEE ALSO

+ + + +
+gettext(3), dgettext(3), dcgettext(3), +ngettext(3), dngettext(3), +dcngettext(3), textdomain(3), +nl_langinfo(3), iconv_open(3)
+
+ + diff --git a/man/bindtextdomain.3 b/man/bindtextdomain.3 new file mode 100644 index 000000000..cfbf5a7ba --- /dev/null +++ b/man/bindtextdomain.3 @@ -0,0 +1,69 @@ +.\" Copyright (c) Bruno Haible +.\" +.\" This is free documentation; you can redistribute it and/or +.\" modify it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2 of +.\" the License, or (at your option) any later version. +.\" +.\" References consulted: +.\" GNU glibc-2 source code and manual +.\" GNU gettext source code and manual +.\" LI18NUX 2000 Globalization Specification +.\" +.TH BINDTEXTDOMAIN 3 "May 2001" "GNU gettext 0.11" +.SH NAME +bindtextdomain \- set directory containing message catalogs +.SH SYNOPSIS +.nf +.B #include +.sp +.BI "char * bindtextdomain (const char * " domainname ", const char * " dirname ); +.fi +.SH DESCRIPTION +The \fBbindtextdomain\fP function sets the base directory of the hierarchy +containing message catalogs for a given message domain. +.PP +A message domain is a set of translatable \fImsgid\fP messages. Usually, +every software package has its own message domain. The need for calling +\fBbindtextdomain\fP arises because packages are not always installed with +the same prefix as the header and the libc/libintl libraries. +.PP +Message catalogs will be expected at the pathnames +\fIdirname\fP/\fIlocale\fP/\fIcategory\fP/\fIdomainname\fP.mo, +where \fIlocale\fP is a locale name and \fIcategory\fP is a locale facet such +as \fBLC_MESSAGES\fP. +.PP +\fIdomainname\fP must be a non-empty string. +.PP +If \fIdirname\fP is not NULL, the base directory for message catalogs belonging +to domain \fIdomainname\fP is set to \fIdirname\fP. The function makes copies +of the argument strings as needed. If the program wishes to call the +\fBchdir\fP function, it is important that \fIdirname\fP be an absolute +pathname; otherwise it cannot be guaranteed that the message catalogs will +be found. +.PP +If \fIdirname\fP is NULL, the function returns the previously set base +directory for domain \fIdomainname\fP. +.SH "RETURN VALUE" +If successful, the \fBbindtextdomain\fP function returns the current base +directory for domain \fIdomainname\fP, after possibly changing it. The +resulting string is valid until the next \fBbindtextdomain\fP call for the +same \fIdomainname\fP and must not be modified or freed. If a memory allocation +failure occurs, it sets \fBerrno\fP to \fBENOMEM\fP and returns NULL. +.SH ERRORS +The following error can occur, among others: +.TP +.B ENOMEM +Not enough memory available. +.SH BUGS +The return type ought to be \fBconst char *\fP, but is \fBchar *\fP to avoid +warnings in C code predating ANSI C. +.SH "SEE ALSO" +.BR gettext (3), +.BR dgettext (3), +.BR dcgettext (3), +.BR ngettext (3), +.BR dngettext (3), +.BR dcngettext (3), +.BR textdomain (3), +.BR realpath (3) diff --git a/man/bindtextdomain.3.html b/man/bindtextdomain.3.html new file mode 100644 index 000000000..01c0bc3ad --- /dev/null +++ b/man/bindtextdomain.3.html @@ -0,0 +1,153 @@ + + + + +BINDTEXTDOMAIN + + + +

BINDTEXTDOMAIN

+NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+bindtextdomain - set directory containing message catalogs
+ +

SYNOPSIS

+ + + +
+
#include <libintl.h>
+
+char * bindtextdomain (const char * domainname, const char * dirname);
+
+ +

DESCRIPTION

+ + + +
+The bindtextdomain function sets the base directory +of the hierarchy containing message catalogs for a given +message domain.
+ + + +
+A message domain is a set of translatable msgid +messages. Usually, every software package has its own +message domain. The need for calling bindtextdomain +arises because packages are not always installed with the +same prefix as the <libintl.h> header and the +libc/libintl libraries.
+ + + +
+Message catalogs will be expected at the pathnames +dirname/locale/category/domainname.mo, +where locale is a locale name and category is +a locale facet such as LC_MESSAGES.
+ + + +
+domainname must be a non-empty string.
+ + + +
+If dirname is not NULL, the base directory for +message catalogs belonging to domain domainname is +set to dirname. The function makes copies of the +argument strings as needed. If the program wishes to call +the chdir function, it is important that +dirname be an absolute pathname; otherwise it cannot +be guaranteed that the message catalogs will be +found.
+ + + +
+If dirname is NULL, the function returns the +previously set base directory for domain +domainname.
+ +

RETURN VALUE

+ + + +
+If successful, the bindtextdomain function returns +the current base directory for domain domainname, +after possibly changing it. The resulting string is valid +until the next bindtextdomain call for the same +domainname and must not be modified or freed. If a +memory allocation failure occurs, it sets errno to +ENOMEM and returns NULL.
+ +

ERRORS

+ + + +
+The following error can occur, among others:
+ + + +
+ENOMEM
+ + + +
+Not enough memory available.
+ +

BUGS

+ + + +
+The return type ought to be const char *, but is +char * to avoid warnings in C code predating ANSI +C.
+ +

SEE ALSO

+ + + +
+gettext(3), dgettext(3), dcgettext(3), +ngettext(3), dngettext(3), +dcngettext(3), textdomain(3), +realpath(3)
+
+ + diff --git a/man/gettext.1 b/man/gettext.1 new file mode 100644 index 000000000..58d1ef419 --- /dev/null +++ b/man/gettext.1 @@ -0,0 +1,68 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH GETTEXT "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +gettext \- translate message +.SH SYNOPSIS +.B gettext +[\fIOPTION\fR] [[\fITEXTDOMAIN\fR] \fIMSGID\fR] +.br +.B gettext +[\fIOPTION\fR] \fI-s \fR[\fIMSGID\fR]... +.SH DESCRIPTION +.\" Add any additional description here +The \fBgettext\fP program translates a natural language message into the +user's language, by looking up the translation in a message catalog. +.PP +Display native language translation of a textual message. +.TP +\fB\-d\fR, \fB\-\-domain\fR=\fITEXTDOMAIN\fR +retrieve translated messages from TEXTDOMAIN +.TP +\fB\-e\fR +enable expansion of some escape sequences +.TP +\fB\-E\fR +(ignored for compatibility) +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-n\fR +suppress trailing newline +.TP +\fB\-V\fR, \fB\-\-version\fR +display version information and exit +.TP +[TEXTDOMAIN] MSGID +retrieve translated message corresponding +to MSGID from TEXTDOMAIN +.PP +If the TEXTDOMAIN parameter is not given, the domain is determined from the +environment variable TEXTDOMAIN. If the message catalog is not found in the +regular directory, another location can be specified with the environment +variable TEXTDOMAINDIR. +When used with the \fB\-s\fR option the program behaves like the `echo' command. +But it does not simply copy its arguments to stdout. Instead those messages +found in the selected catalog are translated. +Standard search directory: /home/haible/gnu/arch/linuxlibc6/share/locale +.SH AUTHOR +Written by Ulrich Drepper. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 1995-1997, 2000, 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B gettext +is maintained as a Texinfo manual. If the +.B info +and +.B gettext +programs are properly installed at your site, the command +.IP +.B info gettext +.PP +should give you access to the complete manual. diff --git a/man/gettext.1.html b/man/gettext.1.html new file mode 100644 index 000000000..4bd217ddc --- /dev/null +++ b/man/gettext.1.html @@ -0,0 +1,210 @@ + + + + +GETTEXT + + + +

GETTEXT

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+gettext - translate message
+ +

SYNOPSIS

+ + + +
+gettext [OPTION] [[TEXTDOMAIN] +MSGID]
+gettext
[OPTION] -s +[MSGID]...
+ +

DESCRIPTION

+ + + +
+The gettext program translates a natural language +message into the user's language, by looking up the +translation in a message catalog.
+ + + +
+Display native language translation of a textual +message.
+ + + +
+-d, --domain=TEXTDOMAIN
+ + + +
+retrieve translated messages from TEXTDOMAIN
+ + + +
+-e
+ + + +
+enable expansion of some escape sequences
+ + + +
+-E
+ + + +
+(ignored for compatibility)
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-n
+ + + +
+suppress trailing newline
+ + + +
+-V, --version
+ + + +
+display version information and exit
+ + + +
+[TEXTDOMAIN] MSGID
+ + + +
+retrieve translated message corresponding to MSGID from +TEXTDOMAIN
+ + + +
+If the TEXTDOMAIN parameter is not given, the domain is +determined from the environment variable TEXTDOMAIN. If the +message catalog is not found in the regular directory, +another location can be specified with the environment +variable TEXTDOMAINDIR. When used with the -s option +the program behaves like the `echo' command. But it does not +simply copy its arguments to stdout. Instead those messages +found in the selected catalog are translated. Standard +search directory: +/home/haible/gnu/arch/linuxlibc6/share/locale
+ +

AUTHOR

+ + + +
+Written by Ulrich Drepper.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 1995-1997, 2000, 2001 Free Software Foundation, +Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for gettext is maintained as a +Texinfo manual. If the info and gettext +programs are properly installed at your site, the +command
+ + + +
+info gettext
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/gettext.3 b/man/gettext.3 new file mode 100644 index 000000000..c721ba53c --- /dev/null +++ b/man/gettext.3 @@ -0,0 +1,99 @@ +.\" Copyright (c) Bruno Haible +.\" +.\" This is free documentation; you can redistribute it and/or +.\" modify it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2 of +.\" the License, or (at your option) any later version. +.\" +.\" References consulted: +.\" GNU glibc-2 source code and manual +.\" GNU gettext source code and manual +.\" LI18NUX 2000 Globalization Specification +.\" +.TH GETTEXT 3 "May 2001" "GNU gettext 0.11" +.SH NAME +gettext, dgettext, dcgettext \- translate message +.SH SYNOPSIS +.nf +.B #include +.sp +.BI "char * gettext (const char * " msgid ); +.BI "char * dgettext (const char * " domainname ", const char * " msgid ); +.BI "char * dcgettext (const char * " domainname ", const char * " msgid , +.BI " int " category ); +.fi +.SH DESCRIPTION +The \fBgettext\fP, \fBdgettext\fP and \fBdcgettext\fP functions attempt to +translate a text string into the user's native language, by looking up the +translation in a message catalog. +.PP +The \fImsgid\fP argument identifies the message to be translated. By +convention, it is the English version of the message, with non-ASCII +characters replaced by ASCII approximations. This choice allows the +translators to work with message catalogs, called PO files, that contain +both the English and the translated versions of each message, and can be +installed using the \fBmsgfmt\fP utility. +.PP +A message domain is a set of translatable \fImsgid\fP messages. Usually, +every software package has its own message domain. The domain name is used +to determine the message catalog where the translation is looked up; it must +be a non-empty string. For the \fBgettext\fP function, it is specified through +a preceding \fBtextdomain\fP call. For the \fBdgettext\fP and \fBdcgettext\fP +functions, it is passed as the \fIdomainname\fP argument; if this argument is +NULL, the domain name specified through a preceding \fBtextdomain\fP call is +used instead. +.PP +Translation lookup operates in the context of the current locale. For the +\fBgettext\fP and \fBdgettext\fP functions, the \fBLC_MESSAGES\fP locale +facet is used. It is determined by a preceding call to the \fBsetlocale\fP +function. \fBsetlocale(LC_ALL,"")\fP initializes the \fBLC_MESSAGES\fP locale +based on the first nonempty value of the three environment variables +\fBLC_ALL\fP, \fBLC_MESSAGES\fP, \fBLANG\fP; see \fBsetlocale\fP(3). For the +\fBdcgettext\fP function, the locale facet is determined by the \fIcategory\fP +argument, which should be one of the \fBLC_xxx\fP constants defined in the + header, excluding \fBLC_ALL\fP. In both cases, the functions also +use the \fBLC_CTYPE\fP locale facet in order to convert the translated message +from the translator's codeset to the current locale's codeset, unless +overridden by a prior call to the \fBbind_textdomain_codeset\fP function. +.PP +The message catalog used by the functions is at the pathname +\fIdirname\fP/\fIlocale\fP/\fIcategory\fP/\fIdomainname\fP.mo. Here +\fIdirname\fP is the directory specified through \fBbindtextdomain\fP. Its +default is system and configuration dependent; typically it is +\fIprefix\fP/share/locale, where \fIprefix\fP is the installation prefix of the +package. \fIlocale\fP is the name of the current locale facet; the GNU +implementation also tries generalizations, such as the language name without +the territory name. \fIcategory\fP is \fBLC_MESSAGES\fP for the \fBgettext\fP +and \fBdgettext\fP functions, or the argument passed to the \fBdcgettext\fP +function. +.PP +If the \fBLANGUAGE\fP environment variable is set to a nonempty value, and the +locale is not the "C" locale, the value of \fBLANGUAGE\fP is assumed to contain +a colon separated list of locale names. The functions will attempt to look up +a translation of \fImsgid\fP in each of the locales in turn. This is a GNU +extension. +.PP +In the "C" locale, or if none of the used catalogs contain a translation for +\fImsgid\fP, the \fBgettext\fP, \fBdgettext\fP and \fBdcgettext\fP functions +return \fImsgid\fP. +.SH "RETURN VALUE" +If a translation was found in one of the specified catalogs, it is converted +to the locale's codeset and returned. The resulting string is statically +allocated and must not be modified or freed. Otherwise \fImsgid\fP is returned. +.SH ERRORS +\fBerrno\fP is not modified. +.SH BUGS +The return type ought to be \fBconst char *\fP, but is \fBchar *\fP to avoid +warnings in C code predating ANSI C. +.PP +When an empty string is used for \fImsgid\fP, the functions may return a +nonempty string. +.SH "SEE ALSO" +.BR ngettext (3), +.BR dngettext (3), +.BR dcngettext (3), +.BR setlocale (3), +.BR textdomain (3), +.BR bindtextdomain (3), +.BR bind_textdomain_codeset (3), +.BR msgfmt (1) diff --git a/man/gettext.3.html b/man/gettext.3.html new file mode 100644 index 000000000..bc22bab99 --- /dev/null +++ b/man/gettext.3.html @@ -0,0 +1,192 @@ + + + + +GETTEXT + + + +

GETTEXT

+NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+gettext, dgettext, dcgettext - translate message
+ +

SYNOPSIS

+ + + +
+
#include <libintl.h>
+
+char * gettext (const char * msgid);
+char * dgettext (const char * domainname, const char * msgid);
+char * dcgettext (const char * domainname, const char * msgid,
+                  int category);
+
+ +

DESCRIPTION

+ + + +
+The gettext, dgettext and dcgettext +functions attempt to translate a text string into the user's +native language, by looking up the translation in a message +catalog.
+ + + +
+The msgid argument identifies the message to be +translated. By convention, it is the English version of the +message, with non-ASCII characters replaced by ASCII +approximations. This choice allows the translators to work +with message catalogs, called PO files, that contain both +the English and the translated versions of each message, and +can be installed using the msgfmt +utility.
+ + + +
+A message domain is a set of translatable msgid +messages. Usually, every software package has its own +message domain. The domain name is used to determine the +message catalog where the translation is looked up; it must +be a non-empty string. For the gettext function, it +is specified through a preceding textdomain call. For +the dgettext and dcgettext functions, it is +passed as the domainname argument; if this argument +is NULL, the domain name specified through a preceding +textdomain call is used instead.
+ + + +
+Translation lookup operates in the context of the current +locale. For the gettext and dgettext +functions, the LC_MESSAGES locale facet is used. It +is determined by a preceding call to the setlocale +function. setlocale(LC_ALL,"") initializes +the LC_MESSAGES locale based on the first nonempty +value of the three environment variables LC_ALL, +LC_MESSAGES, LANG; see setlocale(3). +For the dcgettext function, the locale facet is +determined by the category argument, which should be +one of the LC_xxx constants defined in the +<locale.h> header, excluding LC_ALL. In both +cases, the functions also use the LC_CTYPE locale +facet in order to convert the translated message from the +translator's codeset to the current locale's codeset, unless +overridden by a prior call to the +bind_textdomain_codeset function.
+ + + +
+The message catalog used by the functions is at the pathname +dirname/locale/category/domainname.mo. +Here dirname is the directory specified through +bindtextdomain. Its default is system and +configuration dependent; typically it is +prefix/share/locale, where prefix is the +installation prefix of the package. locale is the +name of the current locale facet; the GNU implementation +also tries generalizations, such as the language name +without the territory name. category is +LC_MESSAGES for the gettext and +dgettext functions, or the argument passed to the +dcgettext function.
+ + + +
+If the LANGUAGE environment variable is set to a +nonempty value, and the locale is not the "C" +locale, the value of LANGUAGE is assumed to contain a +colon separated list of locale names. The functions will +attempt to look up a translation of msgid in each of +the locales in turn. This is a GNU extension.
+ + + +
+In the "C" locale, or if none of the used catalogs +contain a translation for msgid, the gettext, +dgettext and dcgettext functions return +msgid.
+ +

RETURN VALUE

+ + + +
+If a translation was found in one of the specified catalogs, +it is converted to the locale's codeset and returned. The +resulting string is statically allocated and must not be +modified or freed. Otherwise msgid is +returned.
+ +

ERRORS

+ + + +
+errno is not modified.
+ +

BUGS

+ + + +
+The return type ought to be const char *, but is +char * to avoid warnings in C code predating ANSI +C.
+ + + +
+When an empty string is used for msgid, the functions +may return a nonempty string.
+ +

SEE ALSO

+ + + +
+ngettext(3), dngettext(3), +dcngettext(3), setlocale(3), +textdomain(3), bindtextdomain(3), +bind_textdomain_codeset(3), +msgfmt(1)
+
+ + diff --git a/man/msgcat.1 b/man/msgcat.1 new file mode 100644 index 000000000..d9c62b3bd --- /dev/null +++ b/man/msgcat.1 @@ -0,0 +1,120 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH LT-MSGCAT "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgcat \- combines several message catalogs +.SH SYNOPSIS +.B lt-msgcat +[\fIOPTION\fR] [\fIINPUTFILE\fR]... +.SH DESCRIPTION +.\" Add any additional description here +.PP +Concatenates and merges the specified PO files. +Find messages which are common to two or more of the specified PO files. +By using the \fB\-\-more\-than\fR option, greater commonality may be requested +before messages are printed. Conversely, the \fB\-\-less\-than\fR option may be +used to specify less commonality before messages are printed (i.e. +\fB\-\-less\-than\fR=\fI2\fR will only print the unique messages). Translations, +comments and extract comments will be cumulated, except that if \fB\-\-use\-first\fR +is specified, they will be taken from the first PO file to define them. +File positions from all PO files will be cumulated. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +INPUTFILE ... +input files +.TP +\fB\-f\fR, \fB\-\-files\-from\fR=\fIFILE\fR +get list of input files from FILE +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.PP +If input file is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.PP +The results are written to standard output if no output file is specified +or if it is -. +.SS "Message selection:" +.TP +-<, \fB\-\-less\-than\fR=\fINUMBER\fR +print messages with less than this many +definitions, defaults to infinite if not +set +.TP +->, \fB\-\-more\-than\fR=\fINUMBER\fR +print messages with more than this many +definitions, defaults to 1 if not set +.TP +\fB\-u\fR, \fB\-\-unique\fR +shorthand for \fB\-\-less\-than\fR=\fI2\fR, requests +that only unique messages be printed +.SS "Output details:" +.TP +\fB\-t\fR, \fB\-\-to\-code\fR=\fINAME\fR +encoding for output +.TP +\fB\-\-use\-first\fR +use first available translation for each +message, don't merge several translations +.TP +\fB\-e\fR, \fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-E\fR, \fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-i\fR, \fB\-\-indent\fR +write the .po file using indented style +.TP +\fB\-\-no\-location\fR +do not write '#: filename:line' lines +.TP +\fB\-n\fR, \fB\-\-add\-location\fR +generate '#: filename:line' lines (default) +.TP +\fB\-\-strict\fR +write out strict Uniforum conforming .po file +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-s\fR, \fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.TP +\fB\-F\fR, \fB\-\-sort\-by\-file\fR +sort output by file location +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Bruno Haible. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B lt-msgcat +is maintained as a Texinfo manual. If the +.B info +and +.B lt-msgcat +programs are properly installed at your site, the command +.IP +.B info lt-msgcat +.PP +should give you access to the complete manual. diff --git a/man/msgcat.1.html b/man/msgcat.1.html new file mode 100644 index 000000000..0d0897ca7 --- /dev/null +++ b/man/msgcat.1.html @@ -0,0 +1,415 @@ + + + + +LT-MSGCAT + + + +

LT-MSGCAT

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgcat - combines several message catalogs
+ +

SYNOPSIS

+ + + +
+lt-msgcat [OPTION] +[INPUTFILE]...
+ +

DESCRIPTION

+ + + +
+Concatenates and merges the specified PO files. Find +messages which are common to two or more of the specified PO +files. By using the --more-than option, greater +commonality may be requested before messages are printed. +Conversely, the --less-than option may be used to +specify less commonality before messages are printed (i.e. +--less-than=2 will only print the unique +messages). Translations, comments and extract comments will +be cumulated, except that if --use-first is +specified, they will be taken from the first PO file to +define them. File positions from all PO files will be +cumulated.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+INPUTFILE ...
+ + + +
+input files
+ + + +
+-f, --files-from=FILE
+ + + +
+get list of input files from FILE
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+If input file is -, standard input is read.
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+The results are written to standard output if no output file +is specified or if it is -.
+ + + +
+Message selection:
+ + + +
+-<, --less-than=NUMBER
+ + + +
+print messages with less than this many definitions, +defaults to infinite if not set
+ + + +
+->, --more-than=NUMBER
+ + + +
+print messages with more than this many definitions, +defaults to 1 if not set
+ + + +
+-u, --unique
+ + + +
+shorthand for --less-than=2, requests that +only unique messages be printed
+ + + +
+Output details:
+ + + +
+-t, --to-code=NAME
+ + + +
+encoding for output
+ + + +
+--use-first
+ + + +
+use first available translation for each message, don't +merge several translations
+ + + +
+-e, --no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+-E, --escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+-i, --indent
+ + + +
+write the .po file using indented style
+ + + +
+--no-location
+ + + +
+do not write '#: filename:line' lines
+ + + +
+-n, --add-location
+ + + +
+generate '#: filename:line' lines (default)
+ + + +
+--strict
+ + + +
+write out strict Uniforum conforming .po file
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+-s, --sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+-F, --sort-by-file
+ + + +
+sort output by file location
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Bruno Haible.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 2001 Free Software Foundation, Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for lt-msgcat is maintained as +a Texinfo manual. If the info and lt-msgcat +programs are properly installed at your site, the +command
+ + + +
+info lt-msgcat
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msgcmp.1 b/man/msgcmp.1 new file mode 100644 index 000000000..52b0259d6 --- /dev/null +++ b/man/msgcmp.1 @@ -0,0 +1,60 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH MSGCMP "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgcmp \- compare message catalog and template +.SH SYNOPSIS +.B msgcmp +[\fIOPTION\fR] \fIdef.po ref.pot\fR +.SH DESCRIPTION +.\" Add any additional description here +.PP +Compare two Uniforum style .po files to check that both contain the same +set of msgid strings. The def.po file is an existing PO file with the +translations. The ref.pot file is the last created PO file, or a PO Template +file (generally created by xgettext). This is useful for checking that +you have translated each and every message in your program. Where an exact +match cannot be found, fuzzy matching is used to produce better diagnostics. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +def.po +translations +.TP +ref.pot +references to the sources +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.SS "Operation modifiers:" +.TP +\fB\-m\fR, \fB\-\-multi\-domain\fR +apply ref.pot to each of the domains in def.po +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Peter Miller. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 1995-1998, 2000, 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B msgcmp +is maintained as a Texinfo manual. If the +.B info +and +.B msgcmp +programs are properly installed at your site, the command +.IP +.B info msgcmp +.PP +should give you access to the complete manual. diff --git a/man/msgcmp.1.html b/man/msgcmp.1.html new file mode 100644 index 000000000..3f2de2fa5 --- /dev/null +++ b/man/msgcmp.1.html @@ -0,0 +1,203 @@ + + + + +MSGCMP + + + +

MSGCMP

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgcmp - compare message catalog and template
+ +

SYNOPSIS

+ + + +
+msgcmp [OPTION] def.po +ref.pot
+ +

DESCRIPTION

+ + + +
+Compare two Uniforum style .po files to check that both +contain the same set of msgid strings. The def.po file is an +existing PO file with the translations. The ref.pot file is +the last created PO file, or a PO Template file (generally +created by xgettext). This is useful for checking that you +have translated each and every message in your program. +Where an exact match cannot be found, fuzzy matching is used +to produce better diagnostics.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+def.po
+ + + +
+translations
+ + + +
+ref.pot
+ + + +
+references to the sources
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+Operation modifiers:
+ + + +
+-m, --multi-domain
+ + + +
+apply ref.pot to each of the domains in def.po
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Peter Miller.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 1995-1998, 2000, 2001 Free Software Foundation, +Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for msgcmp is maintained as a +Texinfo manual. If the info and msgcmp +programs are properly installed at your site, the +command
+ + + +
+info msgcmp
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msgcomm.1 b/man/msgcomm.1 new file mode 100644 index 000000000..adf4c44a1 --- /dev/null +++ b/man/msgcomm.1 @@ -0,0 +1,115 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH MSGCOMM "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgcomm \- match two message catalogs +.SH SYNOPSIS +.B msgcomm +[\fIOPTION\fR] [\fIINPUTFILE\fR]... +.SH DESCRIPTION +.\" Add any additional description here +.PP +Find messages which are common to two or more of the specified PO files. +By using the \fB\-\-more\-than\fR option, greater commonality may be requested +before messages are printed. Conversely, the \fB\-\-less\-than\fR option may be +used to specify less commonality before messages are printed (i.e. +\fB\-\-less\-than\fR=\fI2\fR will only print the unique messages). Translations, +comments and extract comments will be preserved, but only from the first +PO file to define them. File positions from all PO files will be +cumulated. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +INPUTFILE ... +input files +.TP +\fB\-f\fR, \fB\-\-files\-from\fR=\fIFILE\fR +get list of input files from FILE +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.PP +If input file is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.PP +The results are written to standard output if no output file is specified +or if it is -. +.SS "Message selection:" +.TP +-<, \fB\-\-less\-than\fR=\fINUMBER\fR +print messages with less than this many +definitions, defaults to infinite if not +set +.TP +->, \fB\-\-more\-than\fR=\fINUMBER\fR +print messages with more than this many +definitions, defaults to 1 if not set +.TP +\fB\-u\fR, \fB\-\-unique\fR +shorthand for \fB\-\-less\-than\fR=\fI2\fR, requests +that only unique messages be printed +.SS "Output details:" +.TP +\fB\-e\fR, \fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-E\fR, \fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-i\fR, \fB\-\-indent\fR +write the .po file using indented style +.TP +\fB\-\-no\-location\fR +do not write '#: filename:line' lines +.TP +\fB\-n\fR, \fB\-\-add\-location\fR +generate '#: filename:line' lines (default) +.TP +\fB\-\-strict\fR +write out strict Uniforum conforming .po file +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-s\fR, \fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.TP +\fB\-F\fR, \fB\-\-sort\-by\-file\fR +sort output by file location +.TP +\fB\-\-omit\-header\fR +don't write header with `msgid ""' entry +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Peter Miller. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 1995-1998, 2000, 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B msgcomm +is maintained as a Texinfo manual. If the +.B info +and +.B msgcomm +programs are properly installed at your site, the command +.IP +.B info msgcomm +.PP +should give you access to the complete manual. diff --git a/man/msgcomm.1.html b/man/msgcomm.1.html new file mode 100644 index 000000000..a83be12e8 --- /dev/null +++ b/man/msgcomm.1.html @@ -0,0 +1,402 @@ + + + + +MSGCOMM + + + +

MSGCOMM

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgcomm - match two message catalogs
+ +

SYNOPSIS

+ + + +
+msgcomm [OPTION] +[INPUTFILE]...
+ +

DESCRIPTION

+ + + +
+Find messages which are common to two or more of the +specified PO files. By using the --more-than option, +greater commonality may be requested before messages are +printed. Conversely, the --less-than option may be +used to specify less commonality before messages are printed +(i.e. --less-than=2 will only print the unique +messages). Translations, comments and extract comments will +be preserved, but only from the first PO file to define +them. File positions from all PO files will be +cumulated.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+INPUTFILE ...
+ + + +
+input files
+ + + +
+-f, --files-from=FILE
+ + + +
+get list of input files from FILE
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+If input file is -, standard input is read.
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+The results are written to standard output if no output file +is specified or if it is -.
+ + + +
+Message selection:
+ + + +
+-<, --less-than=NUMBER
+ + + +
+print messages with less than this many definitions, +defaults to infinite if not set
+ + + +
+->, --more-than=NUMBER
+ + + +
+print messages with more than this many definitions, +defaults to 1 if not set
+ + + +
+-u, --unique
+ + + +
+shorthand for --less-than=2, requests that +only unique messages be printed
+ + + +
+Output details:
+ + + +
+-e, --no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+-E, --escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+-i, --indent
+ + + +
+write the .po file using indented style
+ + + +
+--no-location
+ + + +
+do not write '#: filename:line' lines
+ + + +
+-n, --add-location
+ + + +
+generate '#: filename:line' lines (default)
+ + + +
+--strict
+ + + +
+write out strict Uniforum conforming .po file
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+-s, --sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+-F, --sort-by-file
+ + + +
+sort output by file location
+ + + +
+--omit-header
+ + + +
+don't write header with `msgid ""' +entry
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Peter Miller.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 1995-1998, 2000, 2001 Free Software Foundation, +Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for msgcomm is maintained as a +Texinfo manual. If the info and msgcomm +programs are properly installed at your site, the +command
+ + + +
+info msgcomm
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msgconv.1 b/man/msgconv.1 new file mode 100644 index 000000000..f2713a7d1 --- /dev/null +++ b/man/msgconv.1 @@ -0,0 +1,94 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH LT-MSGCONV "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgconv \- character set conversion for message catalog +.SH SYNOPSIS +.B lt-msgconv +[\fIOPTION\fR] [\fIINPUTFILE\fR] +.SH DESCRIPTION +.\" Add any additional description here +.PP +Converts a translation catalog to a different character encoding. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +INPUTFILE +input PO file +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.PP +If no input file is given or if it is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.PP +The results are written to standard output if no output file is specified +or if it is -. +.SS "Conversion target:" +.TP +\fB\-t\fR, \fB\-\-to\-code\fR=\fINAME\fR +encoding for output +.PP +The default encoding is the current locale's encoding. +.SS "Output details:" +.TP +\fB\-e\fR, \fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-E\fR, \fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-i\fR, \fB\-\-indent\fR +indented output style +.TP +\fB\-\-no\-location\fR +suppress '#: filename:line' lines +.TP +\fB\-\-add\-location\fR +preserve '#: filename:line' lines (default) +.TP +\fB\-\-strict\fR +strict Uniforum output style +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-s\fR, \fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.TP +\fB\-F\fR, \fB\-\-sort\-by\-file\fR +sort output by file location +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Bruno Haible. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B lt-msgconv +is maintained as a Texinfo manual. If the +.B info +and +.B lt-msgconv +programs are properly installed at your site, the command +.IP +.B info lt-msgconv +.PP +should give you access to the complete manual. diff --git a/man/msgconv.1.html b/man/msgconv.1.html new file mode 100644 index 000000000..dbfbe28da --- /dev/null +++ b/man/msgconv.1.html @@ -0,0 +1,349 @@ + + + + +LT-MSGCONV + + + +

LT-MSGCONV

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgconv - character set conversion for message catalog
+ +

SYNOPSIS

+ + + +
+lt-msgconv [OPTION] +[INPUTFILE]
+ +

DESCRIPTION

+ + + +
+Converts a translation catalog to a different character +encoding.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+INPUTFILE
+ + + +
+input PO file
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+If no input file is given or if it is -, standard input is +read.
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+The results are written to standard output if no output file +is specified or if it is -.
+ + + +
+Conversion target:
+ + + +
+-t, --to-code=NAME
+ + + +
+encoding for output
+ + + +
+The default encoding is the current locale's +encoding.
+ + + +
+Output details:
+ + + +
+-e, --no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+-E, --escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+-i, --indent
+ + + +
+indented output style
+ + + +
+--no-location
+ + + +
+suppress '#: filename:line' lines
+ + + +
+--add-location
+ + + +
+preserve '#: filename:line' lines (default)
+ + + +
+--strict
+ + + +
+strict Uniforum output style
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+-s, --sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+-F, --sort-by-file
+ + + +
+sort output by file location
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Bruno Haible.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 2001 Free Software Foundation, Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for lt-msgconv is maintained +as a Texinfo manual. If the info and +lt-msgconv programs are properly installed at your +site, the command
+ + + +
+info lt-msgconv
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msgen.1 b/man/msgen.1 new file mode 100644 index 000000000..b4d0bbd35 --- /dev/null +++ b/man/msgen.1 @@ -0,0 +1,91 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH LT-MSGEN "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgen \- create English message catalog +.SH SYNOPSIS +.B lt-msgen +[\fIOPTION\fR] \fIINPUTFILE\fR +.SH DESCRIPTION +.\" Add any additional description here +.PP +Creates an English translation catalog. The input file is the last +created English PO file, or a PO Template file (generally created by +xgettext). Untranslated entries are assigned a translation that is +identical to the msgid, and are marked fuzzy. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +INPUTFILE +input PO or POT file +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.PP +If input file is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.PP +The results are written to standard output if no output file is specified +or if it is -. +.SS "Output details:" +.TP +\fB\-e\fR, \fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-E\fR, \fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-i\fR, \fB\-\-indent\fR +indented output style +.TP +\fB\-\-no\-location\fR +suppress '#: filename:line' lines +.TP +\fB\-\-add\-location\fR +preserve '#: filename:line' lines (default) +.TP +\fB\-\-strict\fR +strict Uniforum output style +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-s\fR, \fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.TP +\fB\-F\fR, \fB\-\-sort\-by\-file\fR +sort output by file location +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Bruno Haible. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B lt-msgen +is maintained as a Texinfo manual. If the +.B info +and +.B lt-msgen +programs are properly installed at your site, the command +.IP +.B info lt-msgen +.PP +should give you access to the complete manual. diff --git a/man/msgen.1.html b/man/msgen.1.html new file mode 100644 index 000000000..a0fcdd881 --- /dev/null +++ b/man/msgen.1.html @@ -0,0 +1,326 @@ + + + + +LT-MSGEN + + + +

LT-MSGEN

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgen - create English message catalog
+ +

SYNOPSIS

+ + + +
+lt-msgen [OPTION] +INPUTFILE
+ +

DESCRIPTION

+ + + +
+Creates an English translation catalog. The input file is +the last created English PO file, or a PO Template file +(generally created by xgettext). Untranslated entries are +assigned a translation that is identical to the msgid, and +are marked fuzzy.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+INPUTFILE
+ + + +
+input PO or POT file
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+If input file is -, standard input is read.
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+The results are written to standard output if no output file +is specified or if it is -.
+ + + +
+Output details:
+ + + +
+-e, --no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+-E, --escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+-i, --indent
+ + + +
+indented output style
+ + + +
+--no-location
+ + + +
+suppress '#: filename:line' lines
+ + + +
+--add-location
+ + + +
+preserve '#: filename:line' lines (default)
+ + + +
+--strict
+ + + +
+strict Uniforum output style
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+-s, --sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+-F, --sort-by-file
+ + + +
+sort output by file location
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Bruno Haible.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 2001 Free Software Foundation, Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for lt-msgen is maintained as +a Texinfo manual. If the info and lt-msgen +programs are properly installed at your site, the +command
+ + + +
+info lt-msgen
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msgfmt.1 b/man/msgfmt.1 new file mode 100644 index 000000000..cbd6e97b7 --- /dev/null +++ b/man/msgfmt.1 @@ -0,0 +1,81 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH MSGFMT "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgfmt \- compile message catalog to binary format +.SH SYNOPSIS +.B msgfmt +[\fIOPTION\fR] \fIfilename.po \fR... +.SH DESCRIPTION +.\" Add any additional description here +.PP +Generate binary message catalog from textual translation description. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +filename.po ... +input files +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.PP +If input file is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.TP +\fB\-\-strict\fR +enable strict Uniforum mode +.PP +If output file is -, output is written to standard output. +.SS "Input file interpretation:" +.TP +\fB\-c\fR, \fB\-\-check\fR +perform language dependent checks on strings +.TP +\fB\-f\fR, \fB\-\-use\-fuzzy\fR +use fuzzy entries in output +.SS "Output details:" +.TP +\fB\-a\fR, \fB\-\-alignment\fR=\fINUMBER\fR +align strings to NUMBER bytes (default: 1) +.TP +\fB\-\-no\-hash\fR +binary file will not include the hash table +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.TP +\fB\-\-statistics\fR +print statistics about translations +.TP +\fB\-v\fR, \fB\-\-verbose\fR +list input file anomalies +.PP +Giving the \fB\-v\fR option more than once increases the verbosity level. +.SH AUTHOR +Written by Ulrich Drepper. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 1995-1998, 2000, 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B msgfmt +is maintained as a Texinfo manual. If the +.B info +and +.B msgfmt +programs are properly installed at your site, the command +.IP +.B info msgfmt +.PP +should give you access to the complete manual. diff --git a/man/msgfmt.1.html b/man/msgfmt.1.html new file mode 100644 index 000000000..796807397 --- /dev/null +++ b/man/msgfmt.1.html @@ -0,0 +1,301 @@ + + + + +MSGFMT + + + +

MSGFMT

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgfmt - compile message catalog to binary format
+ +

SYNOPSIS

+ + + +
+msgfmt [OPTION] filename.po +...
+ +

DESCRIPTION

+ + + +
+Generate binary message catalog from textual translation +description.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+filename.po ...
+ + + +
+input files
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+If input file is -, standard input is read.
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+--strict
+ + + +
+enable strict Uniforum mode
+ + + +
+If output file is -, output is written to standard +output.
+ + + +
+Input file interpretation:
+ + + +
+-c, --check
+ + + +
+perform language dependent checks on strings
+ + + +
+-f, --use-fuzzy
+ + + +
+use fuzzy entries in output
+ + + +
+Output details:
+ + + +
+-a, --alignment=NUMBER
+ + + +
+align strings to NUMBER bytes (default: 1)
+ + + +
+--no-hash
+ + + +
+binary file will not include the hash table
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ + + +
+--statistics
+ + + +
+print statistics about translations
+ + + +
+-v, --verbose
+ + + +
+list input file anomalies
+ + + +
+Giving the -v option more than once increases the +verbosity level.
+ +

AUTHOR

+ + + +
+Written by Ulrich Drepper.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 1995-1998, 2000, 2001 Free Software Foundation, +Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for msgfmt is maintained as a +Texinfo manual. If the info and msgfmt +programs are properly installed at your site, the +command
+ + + +
+info msgfmt
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msggrep.1 b/man/msggrep.1 new file mode 100644 index 000000000..c3ac11908 --- /dev/null +++ b/man/msggrep.1 @@ -0,0 +1,126 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH LT-MSGGREP "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msggrep \- pattern matching on message catalog +.SH SYNOPSIS +.B lt-msggrep +[\fIOPTION\fR] [\fIINPUTFILE\fR] +.SH DESCRIPTION +.\" Add any additional description here +.PP +Extracts all messages of a translation catalog that match a given pattern +or belong to some given source files. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +INPUTFILE +input PO file +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.PP +If no input file is given or if it is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.PP +The results are written to standard output if no output file is specified +or if it is -. +.SS "Message selection:" +.IP +[-N SOURCEFILE]... [-M DOMAINNAME]... [-K MSGID-PATTERN] [-T MSGSTR-PATTERN] +.PP +A message is selected if it comes from one of the specified source files, +or if it comes from one of the specified domains, +or if \fB\-K\fR is given and its key (msgid or msgid_plural) matches MSGID-PATTERN, +or if \fB\-T\fR is given and its translation (msgstr) matches MSGSTR-PATTERN. +PATTERNs are basic regular expressions by default, or extended regular +expressions if \fB\-E\fR is given, or fixed strings if \fB\-F\fR is given. +.TP +\fB\-N\fR, \fB\-\-location\fR=\fISOURCEFILE\fR +select messages extracted from SOURCEFILE +.TP +\fB\-M\fR, \fB\-\-domain\fR=\fIDOMAINNAME\fR +select messages belonging to domain DOMAINNAME +.TP +\fB\-K\fR, \fB\-\-msgid\fR +start of patterns for the msgid +.TP +\fB\-T\fR, \fB\-\-msgstr\fR +start of patterns for the msgstr +.TP +\fB\-E\fR, \fB\-\-extended\-regexp\fR +PATTERN is an extended regular expression +.TP +\fB\-F\fR, \fB\-\-fixed\-strings\fR +PATTERN is a set of newline-separated strings +.TP +\fB\-e\fR, \fB\-\-regexp\fR=\fIPATTERN\fR +use PATTERN as a regular expression +.TP +\fB\-f\fR, \fB\-\-file\fR=\fIFILE\fR +obtain PATTERN from FILE +.TP +\fB\-i\fR, \fB\-\-ignore\-case\fR +ignore case distinctions +.SS "Output details:" +.TP +\fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-\-indent\fR +indented output style +.TP +\fB\-\-no\-location\fR +suppress '#: filename:line' lines +.TP +\fB\-\-add\-location\fR +preserve '#: filename:line' lines (default) +.TP +\fB\-\-strict\fR +strict Uniforum output style +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.TP +\fB\-\-sort\-by\-file\fR +sort output by file location +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Bruno Haible. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B lt-msggrep +is maintained as a Texinfo manual. If the +.B info +and +.B lt-msggrep +programs are properly installed at your site, the command +.IP +.B info lt-msggrep +.PP +should give you access to the complete manual. diff --git a/man/msggrep.1.html b/man/msggrep.1.html new file mode 100644 index 000000000..e822dcc2f --- /dev/null +++ b/man/msggrep.1.html @@ -0,0 +1,459 @@ + + + + +LT-MSGGREP + + + +

LT-MSGGREP

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msggrep - pattern matching on message catalog
+ +

SYNOPSIS

+ + + +
+lt-msggrep [OPTION] +[INPUTFILE]
+ +

DESCRIPTION

+ + + +
+Extracts all messages of a translation catalog that match a +given pattern or belong to some given source +files.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+INPUTFILE
+ + + +
+input PO file
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+If no input file is given or if it is -, standard input is +read.
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+The results are written to standard output if no output file +is specified or if it is -.
+ + + +
+Message selection:
+ + + +
+[-N SOURCEFILE]... [-M DOMAINNAME]... [-K MSGID-PATTERN] [-T +MSGSTR-PATTERN]
+ + + +
+A message is selected if it comes from one of the specified +source files, or if it comes from one of the specified +domains, or if -K is given and its key (msgid or +msgid_plural) matches MSGID-PATTERN, or if -T is +given and its translation (msgstr) matches MSGSTR-PATTERN. +PATTERNs are basic regular expressions by default, or +extended regular expressions if -E is given, or fixed +strings if -F is given.
+ + + +
+-N, --location=SOURCEFILE
+ + + +
+select messages extracted from SOURCEFILE
+ + + +
+-M, --domain=DOMAINNAME
+ + + +
+select messages belonging to domain DOMAINNAME
+ + + +
+-K, --msgid
+ + + +
+start of patterns for the msgid
+ + + +
+-T, --msgstr
+ + + +
+start of patterns for the msgstr
+ + + +
+-E, --extended-regexp
+ + + +
+PATTERN is an extended regular expression
+ + + +
+-F, --fixed-strings
+ + + +
+PATTERN is a set of newline-separated strings
+ + + +
+-e, --regexp=PATTERN
+ + + +
+use PATTERN as a regular expression
+ + + +
+-f, --file=FILE
+ + + +
+obtain PATTERN from FILE
+ + + +
+-i, --ignore-case
+ + + +
+ignore case distinctions
+ + + +
+Output details:
+ + + +
+--no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+--escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+--indent
+ + + +
+indented output style
+ + + +
+--no-location
+ + + +
+suppress '#: filename:line' lines
+ + + +
+--add-location
+ + + +
+preserve '#: filename:line' lines (default)
+ + + +
+--strict
+ + + +
+strict Uniforum output style
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+--sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+--sort-by-file
+ + + +
+sort output by file location
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Bruno Haible.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 2001 Free Software Foundation, Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for lt-msggrep is maintained +as a Texinfo manual. If the info and +lt-msggrep programs are properly installed at your +site, the command
+ + + +
+info lt-msggrep
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msgmerge.1 b/man/msgmerge.1 new file mode 100644 index 000000000..afa647144 --- /dev/null +++ b/man/msgmerge.1 @@ -0,0 +1,111 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH MSGMERGE "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgmerge \- merge message catalog and template +.SH SYNOPSIS +.B msgmerge +[\fIOPTION\fR] \fIdef.po ref.pot\fR +.SH DESCRIPTION +.\" Add any additional description here +.PP +Merges two Uniforum style .po files together. The def.po file is an +existing PO file with translations which will be taken over to the newly +created file as long as they still match; comments will be preserved, +but extracted comments and file positions will be discarded. The ref.pot +file is the last created PO file with up-to-date source references but +old translations, or a PO Template file (generally created by xgettext); +any translations or comments in the file will be discarded, however dot +comments and file positions will be preserved. Where an exact match +cannot be found, fuzzy matching is used to produce better results. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +def.po +translations referring to old sources +.TP +ref.pot +references to new sources +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.TP +\fB\-C\fR, \fB\-\-compendium\fR=\fIFILE\fR +additional library of message translations, +may be specified more than once +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.PP +The results are written to standard output if no output file is specified +or if it is -. +.SS "Operation modifiers:" +.TP +\fB\-m\fR, \fB\-\-multi\-domain\fR +apply ref.pot to each of the domains in def.po +.SS "Output details:" +.TP +\fB\-e\fR, \fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-E\fR, \fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-i\fR, \fB\-\-indent\fR +indented output style +.TP +\fB\-\-no\-location\fR +suppress '#: filename:line' lines +.TP +\fB\-\-add\-location\fR +preserve '#: filename:line' lines (default) +.TP +\fB\-\-strict\fR +strict Uniforum output style +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-s\fR, \fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.TP +\fB\-F\fR, \fB\-\-sort\-by\-file\fR +sort output by file location +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.TP +\fB\-v\fR, \fB\-\-verbose\fR +increase verbosity level +.TP +\fB\-q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR +suppress progress indicators +.SH AUTHOR +Written by Peter Miller. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 1995-1998, 2000, 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B msgmerge +is maintained as a Texinfo manual. If the +.B info +and +.B msgmerge +programs are properly installed at your site, the command +.IP +.B info msgmerge +.PP +should give you access to the complete manual. diff --git a/man/msgmerge.1.html b/man/msgmerge.1.html new file mode 100644 index 000000000..9730a98ab --- /dev/null +++ b/man/msgmerge.1.html @@ -0,0 +1,395 @@ + + + + +MSGMERGE + + + +

MSGMERGE

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgmerge - merge message catalog and template
+ +

SYNOPSIS

+ + + +
+msgmerge [OPTION] def.po +ref.pot
+ +

DESCRIPTION

+ + + +
+Merges two Uniforum style .po files together. The def.po +file is an existing PO file with translations which will be +taken over to the newly created file as long as they still +match; comments will be preserved, but extracted comments +and file positions will be discarded. The ref.pot file is +the last created PO file with up-to-date source references +but old translations, or a PO Template file (generally +created by xgettext); any translations or comments in the +file will be discarded, however dot comments and file +positions will be preserved. Where an exact match cannot be +found, fuzzy matching is used to produce better +results.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+def.po
+ + + +
+translations referring to old sources
+ + + +
+ref.pot
+ + + +
+references to new sources
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+-C, --compendium=FILE
+ + + +
+additional library of message translations, may be specified +more than once
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+The results are written to standard output if no output file +is specified or if it is -.
+ + + +
+Operation modifiers:
+ + + +
+-m, --multi-domain
+ + + +
+apply ref.pot to each of the domains in def.po
+ + + +
+Output details:
+ + + +
+-e, --no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+-E, --escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+-i, --indent
+ + + +
+indented output style
+ + + +
+--no-location
+ + + +
+suppress '#: filename:line' lines
+ + + +
+--add-location
+ + + +
+preserve '#: filename:line' lines (default)
+ + + +
+--strict
+ + + +
+strict Uniforum output style
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+-s, --sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+-F, --sort-by-file
+ + + +
+sort output by file location
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ + + +
+-v, --verbose
+ + + +
+increase verbosity level
+ + + +
+-q, --quiet, --silent
+ + + +
+suppress progress indicators
+ +

AUTHOR

+ + + +
+Written by Peter Miller.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 1995-1998, 2000, 2001 Free Software Foundation, +Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for msgmerge is maintained as +a Texinfo manual. If the info and msgmerge +programs are properly installed at your site, the +command
+ + + +
+info msgmerge
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msgsed.1 b/man/msgsed.1 new file mode 100644 index 000000000..4c9295994 --- /dev/null +++ b/man/msgsed.1 @@ -0,0 +1,99 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH LT-MSGSED "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgsed \- stream editing of message catalog +.SH SYNOPSIS +.B lt-msgsed +[\fIOPTION\fR] [\fIINPUTFILE\fR] +.SH DESCRIPTION +.\" Add any additional description here +.PP +Applies a sed script to all translations of a translation catalog. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +INPUTFILE +input PO file +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.PP +If no input file is given or if it is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.PP +The results are written to standard output if no output file is specified +or if it is -. +.SS "Sed options:" +.TP +\fB\-e\fR, \fB\-\-expression\fR=\fISCRIPT\fR +add SCRIPT to the commands to be executed +.TP +\fB\-f\fR, \fB\-\-file\fR=\fISCRIPTFILE\fR +add the contents of SCRIPTFILE to the commands +to be executed +.TP +\fB\-n\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR +suppress automatic printing of pattern space +.SS "Output details:" +.TP +\fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-E\fR, \fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-i\fR, \fB\-\-indent\fR +indented output style +.TP +\fB\-\-no\-location\fR +suppress '#: filename:line' lines +.TP +\fB\-\-add\-location\fR +preserve '#: filename:line' lines (default) +.TP +\fB\-\-strict\fR +strict Uniforum output style +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-s\fR, \fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.TP +\fB\-F\fR, \fB\-\-sort\-by\-file\fR +sort output by file location +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Bruno Haible. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B lt-msgsed +is maintained as a Texinfo manual. If the +.B info +and +.B lt-msgsed +programs are properly installed at your site, the command +.IP +.B info lt-msgsed +.PP +should give you access to the complete manual. diff --git a/man/msgsed.1.html b/man/msgsed.1.html new file mode 100644 index 000000000..2b7cfe800 --- /dev/null +++ b/man/msgsed.1.html @@ -0,0 +1,367 @@ + + + + +LT-MSGSED + + + +

LT-MSGSED

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgsed - stream editing of message catalog
+ +

SYNOPSIS

+ + + +
+lt-msgsed [OPTION] +[INPUTFILE]
+ +

DESCRIPTION

+ + + +
+Applies a sed script to all translations of a translation +catalog.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+INPUTFILE
+ + + +
+input PO file
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+If no input file is given or if it is -, standard input is +read.
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+The results are written to standard output if no output file +is specified or if it is -.
+ + + +
+Sed options:
+ + + +
+-e, --expression=SCRIPT
+ + + +
+add SCRIPT to the commands to be executed
+ + + +
+-f, --file=SCRIPTFILE
+ + + +
+add the contents of SCRIPTFILE to the commands to be +executed
+ + + +
+-n, --quiet, --silent
+ + + +
+suppress automatic printing of pattern space
+ + + +
+Output details:
+ + + +
+--no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+-E, --escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+-i, --indent
+ + + +
+indented output style
+ + + +
+--no-location
+ + + +
+suppress '#: filename:line' lines
+ + + +
+--add-location
+ + + +
+preserve '#: filename:line' lines (default)
+ + + +
+--strict
+ + + +
+strict Uniforum output style
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+-s, --sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+-F, --sort-by-file
+ + + +
+sort output by file location
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Bruno Haible.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 2001 Free Software Foundation, Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for lt-msgsed is maintained as +a Texinfo manual. If the info and lt-msgsed +programs are properly installed at your site, the +command
+ + + +
+info lt-msgsed
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/msgunfmt.1 b/man/msgunfmt.1 new file mode 100644 index 000000000..dac8e374e --- /dev/null +++ b/man/msgunfmt.1 @@ -0,0 +1,76 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH MSGUNFMT "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +msgunfmt \- uncompile message catalog from binary format +.SH SYNOPSIS +.B msgunfmt +[\fIOPTION\fR] [\fIFILE\fR]... +.SH DESCRIPTION +.\" Add any additional description here +.PP +Convert binary message catalog to Uniforum style .po file. +.PP +Mandatory arguments to long options are mandatory for short options too. +.SS "Input file location:" +.TP +FILE ... +input .mo files +.PP +If no input file is given or if it is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR +write output to specified file +.PP +The results are written to standard output if no output file is specified +or if it is -. +.SS "Output details:" +.TP +\fB\-e\fR, \fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-E\fR, \fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-i\fR, \fB\-\-indent\fR +write indented output style +.TP +\fB\-\-strict\fR +write strict uniforum style +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-s\fR, \fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Ulrich Drepper. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 1995-1998, 2000, 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B msgunfmt +is maintained as a Texinfo manual. If the +.B info +and +.B msgunfmt +programs are properly installed at your site, the command +.IP +.B info msgunfmt +.PP +should give you access to the complete manual. diff --git a/man/msgunfmt.1.html b/man/msgunfmt.1.html new file mode 100644 index 000000000..5f02fa782 --- /dev/null +++ b/man/msgunfmt.1.html @@ -0,0 +1,277 @@ + + + + +MSGUNFMT + + + +

MSGUNFMT

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+msgunfmt - uncompile message catalog from binary format
+ +

SYNOPSIS

+ + + +
+msgunfmt [OPTION] +[FILE]...
+ +

DESCRIPTION

+ + + +
+Convert binary message catalog to Uniforum style .po +file.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too.
+ + + +
+Input file location:
+ + + +
+FILE ...
+ + + +
+input .mo files
+ + + +
+If no input file is given or if it is -, standard input is +read.
+ + + +
+Output file location:
+ + + +
+-o, --output-file=FILE
+ + + +
+write output to specified file
+ + + +
+The results are written to standard output if no output file +is specified or if it is -.
+ + + +
+Output details:
+ + + +
+-e, --no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+-E, --escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+-i, --indent
+ + + +
+write indented output style
+ + + +
+--strict
+ + + +
+write strict uniforum style
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+-s, --sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Ulrich Drepper.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 1995-1998, 2000, 2001 Free Software Foundation, +Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for msgunfmt is maintained as +a Texinfo manual. If the info and msgunfmt +programs are properly installed at your site, the +command
+ + + +
+info msgunfmt
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/ngettext.1 b/man/ngettext.1 new file mode 100644 index 000000000..ac4f18fb0 --- /dev/null +++ b/man/ngettext.1 @@ -0,0 +1,67 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH NGETTEXT "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +ngettext \- translate message and choose plural form +.SH SYNOPSIS +.B ngettext +[\fIOPTION\fR] [\fITEXTDOMAIN\fR] \fIMSGID MSGID-PLURAL COUNT\fR +.SH DESCRIPTION +.\" Add any additional description here +The \fBngettext\fP program translates a natural language message into the +user's language, by looking up the translation in a message catalog, and +chooses the appropriate plural form, which depends on the number \fICOUNT\fP +and the language of the message catalog where the translation was found. +.PP +Display native language translation of a textual message whose grammatical +form depends on a number. +.TP +\fB\-d\fR, \fB\-\-domain\fR=\fITEXTDOMAIN\fR +retrieve translated message from TEXTDOMAIN +.TP +\fB\-e\fR +enable expansion of some escape sequences +.TP +\fB\-E\fR +(ignored for compatibility) +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +display version information and exit +.TP +[TEXTDOMAIN] +retrieve translated message from TEXTDOMAIN +.TP +MSGID MSGID-PLURAL +translate MSGID (singular) / MSGID-PLURAL (plural) +.TP +COUNT +choose singular/plural form based on this value +.PP +If the TEXTDOMAIN parameter is not given, the domain is determined from the +environment variable TEXTDOMAIN. If the message catalog is not found in the +regular directory, another location can be specified with the environment +variable TEXTDOMAINDIR. +Standard search directory: /home/haible/gnu/arch/linuxlibc6/share/locale +.SH AUTHOR +Written by Ulrich Drepper. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 1995-1997, 2000, 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B ngettext +is maintained as a Texinfo manual. If the +.B info +and +.B ngettext +programs are properly installed at your site, the command +.IP +.B info ngettext +.PP +should give you access to the complete manual. diff --git a/man/ngettext.1.html b/man/ngettext.1.html new file mode 100644 index 000000000..94a4bf91a --- /dev/null +++ b/man/ngettext.1.html @@ -0,0 +1,219 @@ + + + + +NGETTEXT + + + +

NGETTEXT

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+ngettext - translate message and choose plural form
+ +

SYNOPSIS

+ + + +
+ngettext [OPTION] [TEXTDOMAIN] MSGID +MSGID-PLURAL COUNT
+ +

DESCRIPTION

+ + + +
+The ngettext program translates a natural language +message into the user's language, by looking up the +translation in a message catalog, and chooses the +appropriate plural form, which depends on the number +COUNT and the language of the message catalog where +the translation was found.
+ + + +
+Display native language translation of a textual message +whose grammatical form depends on a number.
+ + + +
+-d, --domain=TEXTDOMAIN
+ + + +
+retrieve translated message from TEXTDOMAIN
+ + + +
+-e
+ + + +
+enable expansion of some escape sequences
+ + + +
+-E
+ + + +
+(ignored for compatibility)
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+display version information and exit
+ + + +
+[TEXTDOMAIN]
+ + + +
+retrieve translated message from TEXTDOMAIN
+ + + +
+MSGID MSGID-PLURAL
+ + + +
+translate MSGID (singular) / MSGID-PLURAL +(plural)
+ + + +
+COUNT
+ + + +
+choose singular/plural form based on this value
+ + + +
+If the TEXTDOMAIN parameter is not given, the domain is +determined from the environment variable TEXTDOMAIN. If the +message catalog is not found in the regular directory, +another location can be specified with the environment +variable TEXTDOMAINDIR. Standard search directory: +/home/haible/gnu/arch/linuxlibc6/share/locale
+ +

AUTHOR

+ + + +
+Written by Ulrich Drepper.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 1995-1997, 2000, 2001 Free Software Foundation, +Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for ngettext is maintained as +a Texinfo manual. If the info and ngettext +programs are properly installed at your site, the +command
+ + + +
+info ngettext
+ + + +
+should give you access to the complete manual.
+
+ + diff --git a/man/ngettext.3 b/man/ngettext.3 new file mode 100644 index 000000000..86523204b --- /dev/null +++ b/man/ngettext.3 @@ -0,0 +1,60 @@ +.\" Copyright (c) Bruno Haible +.\" +.\" This is free documentation; you can redistribute it and/or +.\" modify it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2 of +.\" the License, or (at your option) any later version. +.\" +.\" References consulted: +.\" GNU glibc-2 source code and manual +.\" GNU gettext source code and manual +.\" LI18NUX 2000 Globalization Specification +.\" +.TH NGETTEXT 3 "May 2001" "GNU gettext 0.11" +.SH NAME +ngettext, dngettext, dcngettext \- translate message and choose plural form +.SH SYNOPSIS +.nf +.B #include +.sp +.BI "char * ngettext (const char * " msgid ", const char * " msgid_plural , +.BI " unsigned long int " n ); +.BI "char * dngettext (const char * " domainname , +.BI " const char * " msgid ", const char * " msgid_plural , +.BI " unsigned long int " n ); +.BI "char * dcngettext (const char * " domainname , +.BI " const char * " msgid ", const char * " msgid_plural , +.BI " unsigned long int " n ", int " category ); +.fi +.SH DESCRIPTION +The \fBngettext\fP, \fBdngettext\fP and \fBdcngettext\fP functions attempt to +translate a text string into the user's native language, by looking up the +appropriate plural form of the translation in a message catalog. +.PP +Plural forms are grammatical variants depending on the a number. Some languages +have two forms, called singular and plural. Other languages have three forms, +called singular, dual and plural. There are also languages with four forms. +.PP +The \fBngettext\fP, \fBdngettext\fP and \fBdcngettext\fP functions work like +the \fBgettext\fP, \fBdgettext\fP and \fBdcgettext\fP functions, respectively. +Additionally, they choose the appropriate plural form, which depends on the +number \fIn\fP and the language of the message catalog where the translation +was found. +.PP +In the "C" locale, or if none of the used catalogs contain a translation for +\fImsgid\fP, the \fBngettext\fP, \fBdngettext\fP and \fBdcngettext\fP functions +return \fImsgid\fP if \fIn\fP == 1, or \fImsgid_plural\fP if \fIn\fP != 1. +.SH "RETURN VALUE" +If a translation was found in one of the specified catalogs, the appropriate +plural form is converted to the locale's codeset and returned. The resulting +string is statically allocated and must not be modified or freed. Otherwise +\fImsgid\fP or \fImsgid_plural\fP is returned, as described above. +.SH ERRORS +\fBerrno\fP is not modified. +.SH BUGS +The return type ought to be \fBconst char *\fP, but is \fBchar *\fP to avoid +warnings in C code predating ANSI C. +.SH "SEE ALSO" +.BR gettext (3), +.BR dgettext (3), +.BR dcgettext (3) diff --git a/man/ngettext.3.html b/man/ngettext.3.html new file mode 100644 index 000000000..11633f182 --- /dev/null +++ b/man/ngettext.3.html @@ -0,0 +1,130 @@ + + + + +NGETTEXT + + + +

NGETTEXT

+NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+ngettext, dngettext, dcngettext - translate message and choose plural form
+ +

SYNOPSIS

+ + + +
+
#include <libintl.h>
+
+char * ngettext (const char * msgid, const char * msgid_plural,
+                 unsigned long int n);
+char * dngettext (const char * domainname,
+                  const char * msgid, const char * msgid_plural,
+                  unsigned long int n);
+char * dcngettext (const char * domainname,
+                   const char * msgid, const char * msgid_plural,
+                   unsigned long int n, int category);
+
+ +

DESCRIPTION

+ + + +
+The ngettext, dngettext and dcngettext +functions attempt to translate a text string into the user's +native language, by looking up the appropriate plural form +of the translation in a message catalog.
+ + + +
+Plural forms are grammatical variants depending on the a +number. Some languages have two forms, called singular and +plural. Other languages have three forms, called singular, +dual and plural. There are also languages with four +forms.
+ + + +
+The ngettext, dngettext and dcngettext +functions work like the gettext, dgettext and +dcgettext functions, respectively. Additionally, they +choose the appropriate plural form, which depends on the +number n and the language of the message catalog +where the translation was found.
+ + + +
+In the "C" locale, or if none of the used catalogs +contain a translation for msgid, the ngettext, +dngettext and dcngettext functions return +msgid if n == 1, or msgid_plural if +n != 1.
+ +

RETURN VALUE

+ + + +
+If a translation was found in one of the specified catalogs, +the appropriate plural form is converted to the locale's +codeset and returned. The resulting string is statically +allocated and must not be modified or freed. Otherwise +msgid or msgid_plural is returned, as +described above.
+ +

ERRORS

+ + + +
+errno is not modified.
+ +

BUGS

+ + + +
+The return type ought to be const char *, but is +char * to avoid warnings in C code predating ANSI +C.
+ +

SEE ALSO

+ + + +
+gettext(3), dgettext(3), +dcgettext(3)
+
+ + diff --git a/man/textdomain.3 b/man/textdomain.3 new file mode 100644 index 000000000..c8112ea38 --- /dev/null +++ b/man/textdomain.3 @@ -0,0 +1,57 @@ +.\" Copyright (c) Bruno Haible +.\" +.\" This is free documentation; you can redistribute it and/or +.\" modify it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2 of +.\" the License, or (at your option) any later version. +.\" +.\" References consulted: +.\" GNU glibc-2 source code and manual +.\" GNU gettext source code and manual +.\" LI18NUX 2000 Globalization Specification +.\" +.TH TEXTDOMAIN 3 "May 2001" "GNU gettext 0.11" +.SH NAME +textdomain \- set domain for future gettext() calls +.SH SYNOPSIS +.nf +.B #include +.sp +.BI "char * textdomain (const char * " domainname ); +.fi +.SH DESCRIPTION +The \fBtextdomain\fP function sets or retrieves the current message domain. +.PP +A message domain is a set of translatable \fImsgid\fP messages. Usually, +every software package has its own message domain. The domain name is used +to determine the message catalog where a translation is looked up; it must +be a non-empty string. +.PP +The current message domain is used by the \fBgettext\fP, \fBngettext\fP +functions, and by the \fBdgettext\fP, \fBdcgettext\fP, \fBdngettext\fP and +\fBdcngettext\fP functions when called with a NULL domainname argument. +.PP +If \fIdomainname\fP is not NULL, the current message domain is set to +\fIdomainname\fP. The string the function stores internally is a copy of the +\fIdomainname\fP argument. +.PP +If \fIdomainname\fP is NULL, the function returns the current message domain. +.SH "RETURN VALUE" +If successful, the \fBtextdomain\fP function returns the current message +domain, after possibly changing it. The resulting string is valid until the +next \fBtextdomain\fP call and must not be modified or freed. If a memory +allocation failure occurs, it sets \fBerrno\fP to \fBENOMEM\fP and returns +NULL. +.SH ERRORS +The following error can occur, among others: +.TP +.B ENOMEM +Not enough memory available. +.SH BUGS +The return type ought to be \fBconst char *\fP, but is \fBchar *\fP to avoid +warnings in C code predating ANSI C. +.SH "SEE ALSO" +.BR gettext (3), +.BR ngettext (3), +.BR bindtextdomain (3), +.BR bind_textdomain_codeset (3) diff --git a/man/textdomain.3.html b/man/textdomain.3.html new file mode 100644 index 000000000..47410becf --- /dev/null +++ b/man/textdomain.3.html @@ -0,0 +1,139 @@ + + + + +TEXTDOMAIN + + + +

TEXTDOMAIN

+NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+textdomain - set domain for future gettext() calls
+ +

SYNOPSIS

+ + + +
+
#include <libintl.h>
+
+char * textdomain (const char * domainname);
+
+ +

DESCRIPTION

+ + + +
+The textdomain function sets or retrieves the current +message domain.
+ + + +
+A message domain is a set of translatable msgid +messages. Usually, every software package has its own +message domain. The domain name is used to determine the +message catalog where a translation is looked up; it must be +a non-empty string.
+ + + +
+The current message domain is used by the gettext, +ngettext functions, and by the dgettext, +dcgettext, dngettext and dcngettext +functions when called with a NULL domainname +argument.
+ + + +
+If domainname is not NULL, the current message domain +is set to domainname. The string the function stores +internally is a copy of the domainname +argument.
+ + + +
+If domainname is NULL, the function returns the +current message domain.
+ +

RETURN VALUE

+ + + +
+If successful, the textdomain function returns the +current message domain, after possibly changing it. The +resulting string is valid until the next textdomain +call and must not be modified or freed. If a memory +allocation failure occurs, it sets errno to +ENOMEM and returns NULL.
+ +

ERRORS

+ + + +
+The following error can occur, among others:
+ + + +
+ENOMEM
+ + + +
+Not enough memory available.
+ +

BUGS

+ + + +
+The return type ought to be const char *, but is +char * to avoid warnings in C code predating ANSI +C.
+ +

SEE ALSO

+ + + +
+gettext(3), ngettext(3), +bindtextdomain(3), +bind_textdomain_codeset(3)
+
+ + diff --git a/man/xgettext.1 b/man/xgettext.1 new file mode 100644 index 000000000..5fba9eb24 --- /dev/null +++ b/man/xgettext.1 @@ -0,0 +1,143 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. +.TH XGETTEXT "1" "June 2001" "GNU gettext 0.11" GNU +.SH NAME +xgettext \- extract gettext strings from source +.SH SYNOPSIS +.B xgettext +[\fIOPTION\fR] [\fIINPUTFILE\fR]... +.SH DESCRIPTION +.\" Add any additional description here +.PP +Extract translatable strings from given input files. +.PP +Mandatory arguments to long options are mandatory for short options too. +Similarly for optional arguments. +.SS "Input file location:" +.TP +INPUTFILE ... +input files +.TP +\fB\-f\fR, \fB\-\-files\-from\fR=\fIFILE\fR +get list of input files from FILE +.TP +\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR +add DIRECTORY to list for input files search +.PP +If input file is -, standard input is read. +.SS "Output file location:" +.TP +\fB\-d\fR, \fB\-\-default\-domain\fR=\fINAME\fR +use NAME.po for output (instead of messages.po) +.TP +\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR +write output to specified file +.TP +\fB\-p\fR, \fB\-\-output\-dir\fR=\fIDIR\fR +output files will be placed in directory DIR +.PP +If output file is -, output is written to standard output. +.SS "Choice of input file language:" +.TP +\fB\-L\fR, \fB\-\-language\fR=\fINAME\fR +recognise the specified language (C, C++, PO) +.TP +\fB\-C\fR, \fB\-\-c\fR++ +shorthand for \fB\-\-language\fR=\fIC\fR++ +.PP +By default the language is guessed depending on the input file name extension. +.SS "Operation mode:" +.TP +\fB\-j\fR, \fB\-\-join\-existing\fR +join messages with existing file +.TP +\fB\-x\fR, \fB\-\-exclude\-file\fR=\fIFILE\fR.po +entries from FILE.po are not extracted +.TP +\fB\-c\fR, \fB\-\-add\-comments\fR[=\fITAG\fR] +place comment block with TAG (or those +preceding keyword lines) in output file +.SS "Language=C/C++ specific options:" +.TP +\fB\-a\fR, \fB\-\-extract\-all\fR +extract all strings +.TP +\fB\-k\fR, \fB\-\-keyword\fR[=\fIWORD\fR] +additional keyword to be looked for (without +WORD means not to use default keywords) +.TP +\fB\-T\fR, \fB\-\-trigraphs\fR +understand ANSI C trigraphs for input +.TP +\fB\-\-debug\fR +more detailed formatstring recognition result +.SS "Output details:" +.TP +\fB\-e\fR, \fB\-\-no\-escape\fR +do not use C escapes in output (default) +.TP +\fB\-E\fR, \fB\-\-escape\fR +use C escapes in output, no extended chars +.TP +\fB\-\-force\-po\fR +write PO file even if empty +.TP +\fB\-i\fR, \fB\-\-indent\fR +write the .po file using indented style +.TP +\fB\-\-no\-location\fR +do not write '#: filename:line' lines +.TP +\fB\-n\fR, \fB\-\-add\-location\fR +generate '#: filename:line' lines (default) +.TP +\fB\-\-strict\fR +write out strict Uniforum conforming .po file +.TP +\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR +set output page width +.TP +\fB\-s\fR, \fB\-\-sort\-output\fR +generate sorted output and remove duplicates +.TP +\fB\-F\fR, \fB\-\-sort\-by\-file\fR +sort output by file location +.TP +\fB\-\-omit\-header\fR +don't write header with `msgid ""' entry +.TP +\fB\-\-foreign\-user\fR +omit FSF copyright in output for foreign user +.TP +\fB\-m\fR, \fB\-\-msgstr\-prefix\fR[=\fISTRING\fR] +use STRING or "" as prefix for msgstr entries +.TP +\fB\-M\fR, \fB\-\-msgstr\-suffix\fR[=\fISTRING\fR] +use STRING or "" as suffix for msgstr entries +.SS "Informative output:" +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Ulrich Drepper. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 1995-1998, 2000, 2001 Free Software Foundation, Inc. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +The full documentation for +.B xgettext +is maintained as a Texinfo manual. If the +.B info +and +.B xgettext +programs are properly installed at your site, the command +.IP +.B info xgettext +.PP +should give you access to the complete manual. diff --git a/man/xgettext.1.html b/man/xgettext.1.html new file mode 100644 index 000000000..9e2b1500f --- /dev/null +++ b/man/xgettext.1.html @@ -0,0 +1,548 @@ + + + + +XGETTEXT + + + +

XGETTEXT

+NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+xgettext - extract gettext strings from source
+ +

SYNOPSIS

+ + + +
+xgettext [OPTION] +[INPUTFILE]...
+ +

DESCRIPTION

+ + + +
+Extract translatable strings from given input +files.
+ + + +
+Mandatory arguments to long options are mandatory for short +options too. Similarly for optional arguments.
+ + + +
+Input file location:
+ + + +
+INPUTFILE ...
+ + + +
+input files
+ + + +
+-f, --files-from=FILE
+ + + +
+get list of input files from FILE
+ + + +
+-D, --directory=DIRECTORY
+ + + +
+add DIRECTORY to list for input files search
+ + + +
+If input file is -, standard input is read.
+ + + +
+Output file location:
+ + + +
+-d, --default-domain=NAME
+ + + +
+use NAME.po for output (instead of messages.po)
+ + + +
+-o, --output=FILE
+ + + +
+write output to specified file
+ + + +
+-p, --output-dir=DIR
+ + + +
+output files will be placed in directory DIR
+ + + +
+If output file is -, output is written to standard +output.
+ + + +
+Choice of input file language:
+ + + +
+-L, --language=NAME
+ + + +
+recognise the specified language (C, C++, PO)
+ + + +
+-C, --c++
+ + + +
+shorthand for --language=C++
+ + + +
+By default the language is guessed depending on the input +file name extension.
+ + + +
+Operation mode:
+ + + +
+-j, --join-existing
+ + + +
+join messages with existing file
+ + + +
+-x, --exclude-file=FILE.po
+ + + +
+entries from FILE.po are not extracted
+ + + +
+-c, --add-comments[=TAG]
+ + + +
+place comment block with TAG (or those preceding keyword +lines) in output file
+ + + +
+Language=C/C++ specific options:
+ + + +
+-a, --extract-all
+ + + +
+extract all strings
+ + + +
+-k, --keyword[=WORD]
+ + + +
+additional keyword to be looked for (without WORD means not +to use default keywords)
+ + + +
+-T, --trigraphs
+ + + +
+understand ANSI C trigraphs for input
+ + + +
+--debug
+ + + +
+more detailed formatstring recognition result
+ + + +
+Output details:
+ + + +
+-e, --no-escape
+ + + +
+do not use C escapes in output (default)
+ + + +
+-E, --escape
+ + + +
+use C escapes in output, no extended chars
+ + + +
+--force-po
+ + + +
+write PO file even if empty
+ + + +
+-i, --indent
+ + + +
+write the .po file using indented style
+ + + +
+--no-location
+ + + +
+do not write '#: filename:line' lines
+ + + +
+-n, --add-location
+ + + +
+generate '#: filename:line' lines (default)
+ + + +
+--strict
+ + + +
+write out strict Uniforum conforming .po file
+ + + +
+-w, --width=NUMBER
+ + + +
+set output page width
+ + + +
+-s, --sort-output
+ + + +
+generate sorted output and remove duplicates
+ + + +
+-F, --sort-by-file
+ + + +
+sort output by file location
+ + + +
+--omit-header
+ + + +
+don't write header with `msgid ""' +entry
+ + + +
+--foreign-user
+ + + +
+omit FSF copyright in output for foreign user
+ + + +
+-m, +--msgstr-prefix[=STRING]
+ + + +
+use STRING or "" as prefix for msgstr +entries
+ + + +
+-M, +--msgstr-suffix[=STRING]
+ + + +
+use STRING or "" as suffix for msgstr +entries
+ + + +
+Informative output:
+ + + +
+-h, --help
+ + + +
+display this help and exit
+ + + +
+-V, --version
+ + + +
+output version information and exit
+ +

AUTHOR

+ + + +
+Written by Ulrich Drepper.
+ +

REPORTING BUGS

+ + + +
+Report bugs to <bug-gnu-utils@gnu.org>.
+ +

COPYRIGHT

+ + + +
+Copyright 1995-1998, 2000, 2001 Free Software Foundation, +Inc.
+This is free software; see the source for copying +conditions. There is NO warranty; not even for +MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE.
+ +

SEE ALSO

+ + + +
+The full documentation for xgettext is maintained as +a Texinfo manual. If the info and xgettext +programs are properly installed at your site, the +command
+ + + +
+info xgettext
+ + + +
+should give you access to the complete manual.
+
+ +