Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / man / man1 / msgfmt.1
blob00266b9b778542ecf32c5b38c0c8228fdb382807
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.24.
2 .TH MSGFMT "1" "June 2010" "GNU gettext-tools 0.18.1" GNU
3 .SH NAME
4 msgfmt \- compile message catalog to binary format
5 .SH SYNOPSIS
6 .B msgfmt
7 [\fIOPTION\fR] \fIfilename.po \fR...
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Generate binary message catalog from textual translation description.
12 .PP
13 Mandatory arguments to long options are mandatory for short options too.
14 Similarly for optional arguments.
15 .SS "Input file location:"
16 .TP
17 filename.po ...
18 input files
19 .TP
20 \fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR
21 add DIRECTORY to list for input files search
22 .PP
23 If input file is -, standard input is read.
24 .SS "Operation mode:"
25 .TP
26 \fB\-j\fR, \fB\-\-java\fR
27 Java mode: generate a Java ResourceBundle class
28 .TP
29 \fB\-\-java2\fR
30 like \fB\-\-java\fR, and assume Java2 (JDK 1.2 or higher)
31 .TP
32 \fB\-\-csharp\fR
33 C# mode: generate a .NET .dll file
34 .TP
35 \fB\-\-csharp\-resources\fR
36 C# resources mode: generate a .NET .resources file
37 .TP
38 \fB\-\-tcl\fR
39 Tcl mode: generate a tcl/msgcat .msg file
40 .TP
41 \fB\-\-qt\fR
42 Qt mode: generate a Qt .qm file
43 .SS "Output file location:"
44 .TP
45 \fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR
46 write output to specified file
47 .TP
48 \fB\-\-strict\fR
49 enable strict Uniforum mode
50 .PP
51 If output file is -, output is written to standard output.
52 .SS "Output file location in Java mode:"
53 .TP
54 \fB\-r\fR, \fB\-\-resource\fR=\fIRESOURCE\fR
55 resource name
56 .TP
57 \fB\-l\fR, \fB\-\-locale\fR=\fILOCALE\fR
58 locale name, either language or language_COUNTRY
59 .TP
60 \fB\-d\fR DIRECTORY
61 base directory of classes directory hierarchy
62 .PP
63 The class name is determined by appending the locale name to the resource name,
64 separated with an underscore.  The \fB\-d\fR option is mandatory.  The class is
65 written under the specified directory.
66 .SS "Output file location in C# mode:"
67 .TP
68 \fB\-r\fR, \fB\-\-resource\fR=\fIRESOURCE\fR
69 resource name
70 .TP
71 \fB\-l\fR, \fB\-\-locale\fR=\fILOCALE\fR
72 locale name, either language or language_COUNTRY
73 .TP
74 \fB\-d\fR DIRECTORY
75 base directory for locale dependent .dll files
76 .PP
77 The \fB\-l\fR and \fB\-d\fR options are mandatory.  The .dll file is written in a
78 subdirectory of the specified directory whose name depends on the locale.
79 .SS "Output file location in Tcl mode:"
80 .TP
81 \fB\-l\fR, \fB\-\-locale\fR=\fILOCALE\fR
82 locale name, either language or language_COUNTRY
83 .TP
84 \fB\-d\fR DIRECTORY
85 base directory of .msg message catalogs
86 .PP
87 The \fB\-l\fR and \fB\-d\fR options are mandatory.  The .msg file is written in the
88 specified directory.
89 .SS "Input file syntax:"
90 .TP
91 \fB\-P\fR, \fB\-\-properties\-input\fR
92 input files are in Java .properties syntax
93 .TP
94 \fB\-\-stringtable\-input\fR
95 input files are in NeXTstep/GNUstep .strings
96 syntax
97 .SS "Input file interpretation:"
98 .TP
99 \fB\-c\fR, \fB\-\-check\fR
100 perform all the checks implied by
101 \fB\-\-check\-format\fR, \fB\-\-check\-header\fR, \fB\-\-check\-domain\fR
103 \fB\-\-check\-format\fR
104 check language dependent format strings
106 \fB\-\-check\-header\fR
107 verify presence and contents of the header entry
109 \fB\-\-check\-domain\fR
110 check for conflicts between domain directives
111 and the \fB\-\-output\-file\fR option
113 \fB\-C\fR, \fB\-\-check\-compatibility\fR
114 check that GNU msgfmt behaves like X/Open msgfmt
116 \fB\-\-check\-accelerators\fR[=\fICHAR\fR]
117 check presence of keyboard accelerators for
118 menu items
120 \fB\-f\fR, \fB\-\-use\-fuzzy\fR
121 use fuzzy entries in output
122 .SS "Output details:"
124 \fB\-a\fR, \fB\-\-alignment\fR=\fINUMBER\fR
125 align strings to NUMBER bytes (default: 1)
127 \fB\-\-no\-hash\fR
128 binary file will not include the hash table
129 .SS "Informative output:"
131 \fB\-h\fR, \fB\-\-help\fR
132 display this help and exit
134 \fB\-V\fR, \fB\-\-version\fR
135 output version information and exit
137 \fB\-\-statistics\fR
138 print statistics about translations
140 \fB\-v\fR, \fB\-\-verbose\fR
141 increase verbosity level
142 .SH AUTHOR
143 Written by Ulrich Drepper.
144 .SH "REPORTING BUGS"
145 Report bugs to <bug-gnu-gettext@gnu.org>.
146 .SH COPYRIGHT
147 Copyright \(co 1995-1998, 2000-2010 Free Software Foundation, Inc.
148 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
150 This is free software: you are free to change and redistribute it.
151 There is NO WARRANTY, to the extent permitted by law.
152 .SH "SEE ALSO"
153 The full documentation for
154 .B msgfmt
155 is maintained as a Texinfo manual.  If the
156 .B info
158 .B msgfmt
159 programs are properly installed at your site, the command
161 .B info msgfmt
163 should give you access to the complete manual.