diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-12-28 00:06:36 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-12-28 00:06:36 +0000 |
commit | 6eb5949dd99d174393465069c2fd0bab32deddcc (patch) | |
tree | d104f72ac2dcb0f592b1c8e06a5af6790bd4080c /gettext-tools/doc/msginit.texi | |
parent | 482840e61f86ca321838a91e902c41d40c098bbb (diff) | |
download | gettext-tarball-6eb5949dd99d174393465069c2fd0bab32deddcc.tar.gz |
gettext-0.19.7gettext-0.19.7
Diffstat (limited to 'gettext-tools/doc/msginit.texi')
-rw-r--r-- | gettext-tools/doc/msginit.texi | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gettext-tools/doc/msginit.texi b/gettext-tools/doc/msginit.texi index 889887d..3be6e17 100644 --- a/gettext-tools/doc/msginit.texi +++ b/gettext-tools/doc/msginit.texi @@ -9,6 +9,42 @@ msginit [@var{option}] The @code{msginit} program creates a new PO file, initializing the meta information with values from the user's environment. +Here are more details. The following header fields of a PO file are +automatically filled, when possible. + +@table @samp +@item Project-Id-Version +The value is guessed from the @code{configure} script or any other files +in the current directory. + +@item PO-Revision-Date +The value is taken from the @code{PO-Creation-Data} in the input POT +file, or the current date is used. + +@item Last-Translator +The value is taken from user's password file entry and the mailer +configuration files. + +@item Language-Team, Language +These values are set according to the current locale and the predefined +list of translation teams. + +@item MIME-Version, Content-Type, Content-Transfer-Encoding +These values are set according to the content of the POT file and the +current locale. If the POT file contains charset=UTF-8, it means that +the POT file contains non-ASCII characters, and we keep the UTF-8 +encoding. Otherwise, when the POT file is plain ASCII, we use the +locale's encoding. + +@item Plural-Forms +The value is first looked up from the embedded table. + +As an experimental feature, you can instruct @code{msginit} to use the +information from Unicode CLDR, by setting the @code{GETTEXTCLDRDIR} +environment variable. + +@end table + @subsection Input file location @table @samp |