1MSGFMT(1)                             GNU                            MSGFMT(1)
2
3
4

NAME

6       msgfmt - compile message catalog to binary format
7

SYNOPSIS

9       msgfmt [OPTION] filename.po ...
10

DESCRIPTION

12       Generate binary message catalog from textual translation description.
13
14       Mandatory  arguments  to  long  options are mandatory for short options
15       too.  Similarly for optional arguments.
16
17   Input file location:
18       filename.po ...
19              input files
20
21       -D, --directory=DIRECTORY
22              add DIRECTORY to list for input files search
23
24       If input file is -, standard input is read.
25
26   Operation mode:
27       -j, --java
28              Java mode: generate a Java ResourceBundle class
29
30       --java2
31              like --java, and assume Java2 (JDK 1.2 or higher)
32
33       --csharp
34              C# mode: generate a .NET .dll file
35
36       --csharp-resources
37              C# resources mode: generate a .NET .resources file
38
39       --tcl  Tcl mode: generate a tcl/msgcat .msg file
40
41       --qt   Qt mode: generate a Qt .qm file
42
43   Output file location:
44       -o, --output-file=FILE
45              write output to specified file
46
47       --strict
48              enable strict Uniforum mode
49
50       If output file is -, output is written to standard output.
51
52   Output file location in Java mode:
53       -r, --resource=RESOURCE
54              resource name
55
56       -l, --locale=LOCALE
57              locale name, either language or language_COUNTRY
58
59       -d DIRECTORY
60              base directory of classes directory hierarchy
61
62       The class name is determined  by  appending  the  locale  name  to  the
63       resource  name,  separated with an underscore.  The -d option is manda‐
64       tory.  The class is written under the specified directory.
65
66   Output file location in C# mode:
67       -r, --resource=RESOURCE
68              resource name
69
70       -l, --locale=LOCALE
71              locale name, either language or language_COUNTRY
72
73       -d DIRECTORY
74              base directory for locale dependent .dll files
75
76       The -l and -d options are mandatory.  The .dll file  is  written  in  a
77       subdirectory  of  the  specified  directory  whose  name depends on the
78       locale.
79
80   Output file location in Tcl mode:
81       -l, --locale=LOCALE
82              locale name, either language or language_COUNTRY
83
84       -d DIRECTORY
85              base directory of .msg message catalogs
86
87       The -l and -d options are mandatory.  The .msg file is written  in  the
88       specified directory.
89
90   Input file syntax:
91       -P, --properties-input
92              input files are in Java .properties syntax
93
94       --stringtable-input
95              input files are in NeXTstep/GNUstep .strings syntax
96
97   Input file interpretation:
98       -c, --check
99              perform    all    the    checks   implied   by   --check-format,
100              --check-header, --check-domain
101
102       --check-format
103              check language dependent format strings
104
105       --check-header
106              verify presence and contents of the header entry
107
108       --check-domain
109              check for conflicts between domain  directives  and  the  --out‐
110              put-file option
111
112       -C, --check-compatibility
113              check that GNU msgfmt behaves like X/Open msgfmt
114
115       --check-accelerators[=CHAR]
116              check presence of keyboard accelerators for menu items
117
118       -f, --use-fuzzy
119              use fuzzy entries in output
120
121   Output details:
122       -a, --alignment=NUMBER
123              align strings to NUMBER bytes (default: 1)
124
125       --no-hash
126              binary file will not include the hash table
127
128   Informative output:
129       -h, --help
130              display this help and exit
131
132       -V, --version
133              output version information and exit
134
135       --statistics
136              print statistics about translations
137
138       -v, --verbose
139              increase verbosity level
140

AUTHOR

142       Written by Ulrich Drepper.
143

REPORTING BUGS

145       Report bugs to <bug-gnu-gettext@gnu.org>.
146
148       Copyright   ©  1995-1998,  2000-2007  Free  Software  Foundation,  Inc.
149       License     GPLv3+:     GNU     GPL     version     3     or      later
150       <http://gnu.org/licenses/gpl.html>
151       This  is  free  software:  you  are free to change and redistribute it.
152       There is NO WARRANTY, to the extent permitted by law.
153

SEE ALSO

155       The full documentation for msgfmt is maintained as  a  Texinfo  manual.
156       If  the  info  and msgfmt programs are properly installed at your site,
157       the command
158
159              info msgfmt
160
161       should give you access to the complete manual.
162
163
164
165GNU gettext-tools 0.17           November 2007                       MSGFMT(1)
Impressum