jpayne@68: jpayne@68: jpayne@68: jpayne@68:
jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68:msgfmt - jpayne@68: compile message catalog to binary format
jpayne@68: jpayne@68:msgfmt jpayne@68: [OPTION] filename.po ...
jpayne@68: jpayne@68:Generate binary jpayne@68: message catalog from textual translation description.
jpayne@68: jpayne@68:Mandatory jpayne@68: arguments to long options are mandatory for short options jpayne@68: too. Similarly for optional arguments.
jpayne@68: jpayne@68:Input file
jpayne@68: location:
jpayne@68: filename.po ...
input files
jpayne@68: jpayne@68:-D, jpayne@68: --directory=DIRECTORY
jpayne@68: jpayne@68:add DIRECTORY to list for input jpayne@68: files search
jpayne@68: jpayne@68:If input file jpayne@68: is -, standard input is read.
jpayne@68: jpayne@68:Operation
jpayne@68: mode:
jpayne@68: -j, --java
Java mode: generate a Java jpayne@68: ResourceBundle class
jpayne@68: jpayne@68:--java2
jpayne@68: jpayne@68:like --java, jpayne@68: and assume Java2 (JDK 1.2 or higher)
jpayne@68: jpayne@68: jpayne@68:--csharp
jpayne@68: jpayne@68:C# mode: generate a .NET .dll jpayne@68: file
jpayne@68: jpayne@68: jpayne@68:--csharp-resources
jpayne@68: jpayne@68:C# resources mode: generate a jpayne@68: .NET .resources file
jpayne@68: jpayne@68:jpayne@68: |
jpayne@68:
jpayne@68:
jpayne@68: --tcl |
jpayne@68: jpayne@68: |
jpayne@68:
jpayne@68:
jpayne@68: Tcl mode: generate a tcl/msgcat .msg file |
jpayne@68: jpayne@68: |
jpayne@68: |
jpayne@68:
jpayne@68:
jpayne@68: --qt |
jpayne@68: jpayne@68: |
jpayne@68:
jpayne@68:
jpayne@68: Qt mode: generate a Qt .qm file |
jpayne@68: jpayne@68: |
--desktop
jpayne@68: jpayne@68:Desktop Entry mode: generate a jpayne@68: .desktop file
jpayne@68: jpayne@68:jpayne@68: |
jpayne@68:
jpayne@68:
jpayne@68: --xml |
jpayne@68: jpayne@68: |
jpayne@68:
jpayne@68:
jpayne@68: XML mode: generate XML file |
jpayne@68: jpayne@68: |
Output file
jpayne@68: location:
jpayne@68: -o,
jpayne@68: --output-file=FILE
write output to specified jpayne@68: file
jpayne@68: jpayne@68: jpayne@68:--strict
jpayne@68: jpayne@68:enable strict Uniforum mode
jpayne@68: jpayne@68:If output file jpayne@68: is -, output is written to standard output.
jpayne@68: jpayne@68:Output file
jpayne@68: location in Java mode:
jpayne@68: -r,
jpayne@68: --resource=RESOURCE
resource name
jpayne@68: jpayne@68:-l, jpayne@68: --locale=LOCALE
jpayne@68: jpayne@68:locale name, either language or jpayne@68: language_COUNTRY
jpayne@68: jpayne@68: jpayne@68:--source
jpayne@68: jpayne@68:produce a .java file, instead jpayne@68: of a .class file
jpayne@68: jpayne@68:-d DIRECTORY
jpayne@68: jpayne@68:base directory of classes jpayne@68: directory hierarchy
jpayne@68: jpayne@68:The class name jpayne@68: is determined by appending the locale name to the resource jpayne@68: name, separated with an underscore. The -d jpayne@68: option is mandatory. The class is written under the jpayne@68: specified directory.
jpayne@68: jpayne@68:Output file
jpayne@68: location in C# mode:
jpayne@68: -r,
jpayne@68: --resource=RESOURCE
resource name
jpayne@68: jpayne@68:-l, jpayne@68: --locale=LOCALE
jpayne@68: jpayne@68:locale name, either language or jpayne@68: language_COUNTRY
jpayne@68: jpayne@68:-d DIRECTORY
jpayne@68: jpayne@68:base directory for locale jpayne@68: dependent .dll files
jpayne@68: jpayne@68:The jpayne@68: -l and -d options are mandatory. jpayne@68: The .dll file is written in a subdirectory of the specified jpayne@68: directory whose name depends on the locale.
jpayne@68: jpayne@68:Output file
jpayne@68: location in Tcl mode:
jpayne@68: -l, --locale=LOCALE
locale name, either language or jpayne@68: language_COUNTRY
jpayne@68: jpayne@68:-d DIRECTORY
jpayne@68: jpayne@68:base directory of .msg message jpayne@68: catalogs
jpayne@68: jpayne@68:The jpayne@68: -l and -d options are mandatory. jpayne@68: The .msg file is written in the specified directory.
jpayne@68: jpayne@68:Desktop
jpayne@68: Entry mode options:
jpayne@68: -l, --locale=LOCALE
locale name, either language or jpayne@68: language_COUNTRY
jpayne@68: jpayne@68:-o, jpayne@68: --output-file=FILE
jpayne@68: jpayne@68:write output to specified jpayne@68: file
jpayne@68: jpayne@68: jpayne@68:--template=TEMPLATE
jpayne@68: jpayne@68:a .desktop file used as a jpayne@68: template
jpayne@68: jpayne@68:-d DIRECTORY
jpayne@68: jpayne@68:base directory of .po files
jpayne@68: jpayne@68:-kWORD, jpayne@68: --keyword=WORD
jpayne@68: jpayne@68:look for WORD as an additional jpayne@68: keyword
jpayne@68: jpayne@68:-k, jpayne@68: --keyword
jpayne@68: jpayne@68:do not to use default jpayne@68: keywords
jpayne@68: jpayne@68:The jpayne@68: -l, -o, and jpayne@68: --template options are mandatory. If jpayne@68: -D is specified, input files are read from the jpayne@68: directory instead of the command line arguments.
jpayne@68: jpayne@68:XML mode
jpayne@68: options:
jpayne@68: -l, --locale=LOCALE
locale name, either language or jpayne@68: language_COUNTRY
jpayne@68: jpayne@68:-L, jpayne@68: --language=NAME
jpayne@68: jpayne@68:recognise the specified XML jpayne@68: language
jpayne@68: jpayne@68:-o, jpayne@68: --output-file=FILE
jpayne@68: jpayne@68:write output to specified jpayne@68: file
jpayne@68: jpayne@68: jpayne@68:--template=TEMPLATE
jpayne@68: jpayne@68:an XML file used as a jpayne@68: template
jpayne@68: jpayne@68:-d DIRECTORY
jpayne@68: jpayne@68:base directory of .po files
jpayne@68: jpayne@68:The jpayne@68: -l, -o, and jpayne@68: --template options are mandatory. If jpayne@68: -D is specified, input files are read from the jpayne@68: directory instead of the command line arguments.
jpayne@68: jpayne@68:Input file
jpayne@68: syntax:
jpayne@68: -P,
jpayne@68: --properties-input
input files are in Java jpayne@68: .properties syntax
jpayne@68: jpayne@68: jpayne@68:--stringtable-input
jpayne@68: jpayne@68:input files are in jpayne@68: NeXTstep/GNUstep .strings syntax
jpayne@68: jpayne@68:Input file
jpayne@68: interpretation:
jpayne@68: -c, --check
perform all the checks implied jpayne@68: by --check-format, jpayne@68: --check-header, jpayne@68: --check-domain
jpayne@68: jpayne@68: jpayne@68:--check-format
jpayne@68: jpayne@68:check language dependent format jpayne@68: strings
jpayne@68: jpayne@68: jpayne@68:--check-header
jpayne@68: jpayne@68:verify presence and contents of jpayne@68: the header entry
jpayne@68: jpayne@68: jpayne@68:--check-domain
jpayne@68: jpayne@68:check for conflicts between jpayne@68: domain directives and the jpayne@68: --output-file option
jpayne@68: jpayne@68:-C, jpayne@68: --check-compatibility
jpayne@68: jpayne@68:check that GNU msgfmt behaves jpayne@68: like X/Open msgfmt
jpayne@68: jpayne@68: jpayne@68:--check-accelerators[=CHAR]
jpayne@68: jpayne@68:check presence of keyboard jpayne@68: accelerators for menu items
jpayne@68: jpayne@68:-f, jpayne@68: --use-fuzzy
jpayne@68: jpayne@68:use fuzzy entries in output
jpayne@68: jpayne@68:Output
jpayne@68: details:
jpayne@68: --no-convert
don’t convert the jpayne@68: messages to UTF-8 encoding
jpayne@68: jpayne@68: jpayne@68:--no-redundancy
jpayne@68: jpayne@68:don’t pre-expand jpayne@68: ISO C 99 <inttypes.h> format string directive jpayne@68: macros
jpayne@68: jpayne@68:-a, jpayne@68: --alignment=NUMBER
jpayne@68: jpayne@68:align strings to NUMBER bytes jpayne@68: (default: 1)
jpayne@68: jpayne@68: jpayne@68:--endianness=BYTEORDER
jpayne@68: jpayne@68:write out 32-bit numbers jpayne@68: in the given byte order (big or little, default depends on jpayne@68: platform)
jpayne@68: jpayne@68: jpayne@68:--no-hash
jpayne@68: jpayne@68:binary file will not include jpayne@68: the hash table
jpayne@68: jpayne@68:Informative
jpayne@68: output:
jpayne@68: -h, --help
display this help and exit
jpayne@68: jpayne@68:-V, jpayne@68: --version
jpayne@68: jpayne@68:output version information and jpayne@68: exit
jpayne@68: jpayne@68: jpayne@68:--statistics
jpayne@68: jpayne@68:print statistics about jpayne@68: translations
jpayne@68: jpayne@68:-v, jpayne@68: --verbose
jpayne@68: jpayne@68:increase verbosity level
jpayne@68: jpayne@68:Written by jpayne@68: Ulrich Drepper.
jpayne@68: jpayne@68:Report bugs in jpayne@68: the bug tracker at jpayne@68: <https://savannah.gnu.org/projects/gettext> or by jpayne@68: email to <bug-gettext@gnu.org>.
jpayne@68: jpayne@68:Copyright
jpayne@68: © 1995-2023 Free Software Foundation, Inc.
jpayne@68: License GPLv3+: GNU GPL version 3 or later
jpayne@68: <https://gnu.org/licenses/gpl.html>
jpayne@68: This is free software: you are free to change and
jpayne@68: redistribute it. There is NO WARRANTY, to the extent
jpayne@68: permitted by law.
The full jpayne@68: documentation for msgfmt is maintained as a Texinfo jpayne@68: manual. If the info and msgfmt programs are jpayne@68: properly installed at your site, the command
jpayne@68: jpayne@68:info jpayne@68: msgfmt
jpayne@68: jpayne@68:should give you jpayne@68: access to the complete manual.
jpayne@68: