.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. .TH MSGPRE "1" "January 2026" "GNU gettext-tools 1.0" "User Commands" .SH NAME msgpre \- pretranslate a message catalog .SH SYNOPSIS .B msgpre [\fI\,OPTION\/\fR...] .SH DESCRIPTION .\" Add any additional description here .PP Pretranslates a translation catalog. .PP Warning: The pretranslations might not be what you expect. They might be of the wrong form, be of poor quality, or reflect some biases. .PP Mandatory arguments to long options are mandatory for short options too. .SS "Input file location:" .TP \fB\-i\fR, \fB\-\-input\fR=\fI\,INPUTFILE\/\fR input PO file .TP \fB\-D\fR, \fB\-\-directory\fR=\fI\,DIRECTORY\/\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=\fI\,FILE\/\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\-\-keep\-fuzzy\fR Keep fuzzy messages unmodified. Pretranslate only untranslated messages. .SS "Large Language Model (LLM) options:" .TP \fB\-\-species\fR=\fI\,TYPE\/\fR Specifies the type of LLM. The default and only valid value is 'ollama'. .TP \fB\-\-url\fR=\fI\,URL\/\fR Specifies the URL of the server that runs the LLM. .TP \fB\-m\fR, \fB\-\-model\fR=\fI\,MODEL\/\fR Specifies the model to use. .TP \fB\-\-prompt\fR=\fI\,TEXT\/\fR Specifies the prompt to use before standard input. .TP \fB\-\-postprocess\fR=\fI\,COMMAND\/\fR Specifies a command to post\-process the output. .SS "Input file syntax:" .TP \fB\-P\fR, \fB\-\-properties\-input\fR input file is in Java .properties syntax .TP \fB\-\-stringtable\-input\fR input file is in NeXTstep/GNUstep .strings syntax .SS "Output details:" .TP \fB\-\-color\fR use colors and other text attributes always .TP \fB\-\-color\fR=\fI\,WHEN\/\fR use colors and other text attributes if WHEN. WHEN may be 'always', 'never', 'auto', or 'html'. .TP \fB\-\-style\fR=\fI\,STYLEFILE\/\fR specify CSS style rule file for \fB\-\-color\fR .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\-n\fR, \fB\-\-add\-location\fR preserve '#: filename:line' lines (default) .TP \fB\-\-strict\fR strict Uniforum output style .TP \fB\-p\fR, \fB\-\-properties\-output\fR write out a Java .properties file .TP \fB\-\-stringtable\-output\fR write out a NeXTstep/GNUstep .strings file .TP \fB\-w\fR, \fB\-\-width\fR=\fI\,NUMBER\/\fR set output page width .TP \fB\-\-no\-wrap\fR do not break long message lines, longer than the output page width, into several lines .TP \fB\-s\fR, \fB\-\-sort\-output\fR generate sorted output .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\-q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR suppress progress indicators .SH AUTHOR Written by Bruno Haible. .SH "REPORTING BUGS" Report bugs in the bug tracker at or by email to . .SH COPYRIGHT Copyright \(co 2001\-2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B msgpre is maintained as a Texinfo manual. If the .B info and .B msgpre programs are properly installed at your site, the command .IP .B info msgpre .PP should give you access to the complete manual.