=head1 NAME podebconf-report-po - send outdated debconf PO files to the last translators =head1 SYNOPSIS B [B>] =head1 DESCRIPTION This program reads a directory with po files to determine which files contain fuzzy or missing translations, launches an editor to allow modifications of mail body and headers, asks confirmation to send mails, and sends them to the last translator requesting updates. The mail will contain the PO file which has to be updated. B can be called either in the top-level directory, or in F or F subdirectories (or, for non debconf translations, from the B directory itself or its parent directory). B can also be used to send a call for translations to a mailing list. In that case, the POT file will be attached. Different templates exist for translation update requests, request to send updated PO files to a bug report (B<--submit>) or for calls for translations (B<--call>). The template can also be provided by the user. See the B section for more information on the templates. =head1 OPTIONS Many options can be set in a configuration file. See section B. =over 4 =item B<--addlanguageteam=I:I> Specify a mailing list for a given language. This mailing list will be added to the CC list for the PO files of this language when B<--languageteam> is used, in addition to the language team specified in the PO file (if these mailing lists differ). This is useful to keep the specified team informed, and allow a faster reaction when a translator is known to be inactive. This option can be specified more than once. The language code and language mailing list are separated by a colon. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--bts=I> After a bug report has been filed (either manually or with the B<--submit> flag) to track down translations, B can be run again, but this time with the B<--bts=I> flag. Translators are then requested to respect the B header field which is set to this bug report, so that all translations are gathered into a single location. =item B<--call[=I]> Send a call for translations. If the optional I argument is not specified, the call for translations is sent to the Debian Internationalization list (I). Calls for translations are useful to receive translations in new languages. By default, calls for translation are combined with regular requests for updates sent to translators, for the existing translations. You can disable this default behavior with the B<--withouttranslators> option. =item B<--conf=I> Specify the configuration file. By default, B reads F<$HOME/.podebconf-report-po.conf>. =item B<--noconf> Do not read any configuration file. =item B<--deadline=I> Specify the deadline for receiving the updated translations (default is no deadline). This should be a date, which will be prefixed by: The deadline for receiving the updated translation is I. If the specified string starts with a '+', it will be interpreted by: LC_ALL=C date -R -d I If no deadline is specified (and the B<--nodeadline> option is not used), a deadline will be prompted to the user, proposing a default deadline set to +10days. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--nodeadline> Deactivate the deadline indication to translators, and avoid the deadline prompts. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--default> Do not open the editor and use the template as is. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--nodefault> Open an editor before sending the email(s). =item B<-f>, B<--force> Send the email(s) without confirmation. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--noforce> Ask for confirmation before sending email(s). =item B<--from=I> Specify the name and the email address of the sender (default is taken from the B and B environment variables, or from the B environment variable, or is set to the package maintainer if these variables are not set). This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--gzip> Compress PO files in attachment with C. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--nogzip> Do not compress PO files. =item B<-h>, B<--help> Print usage information and exit. =item B<--langs=I> Specify a list of languages to restrict sending the notification only for these languages. The list of languages is comma separated. The PO files must be named according to these languages, with the .po extension. =item B<--languageteam> Send the email also to the Language Team as carbon copy. It is enabled by default. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--nolanguageteam> Do not send the email(s) to the language teams. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--mutt> Send the mails with mutt. This set the B<--postpone> argument to F<$HOME/postponed>. =item B<--notdebconf> Indicate that it is not a debconf translation. B will use the F, F, or F template (if no other templates are requested in the configuration file or in the command line). These templates do not mention debconf in the subject or mail body and are more suitable for non-debconf translations. This option also changes the default F directory used by B (i.e. the B<--podir> option is not needed when the call is done from the F directory itself or from its parent directory). By default, a F directory is preferred over a F directory. With this option, only the F directory will be considered. This option is usually not necessary. B tries to determine the type of translation based on the current directory and the existence of a F or F directory. =item B<--package=I> Specify the name of the package (default is the source package name). =item B<--podir=I> Specify where the PO files are located. By default, B checks if it is called from a F directory, or it searches for a F directory (this can be disabled with the B<--notdebconf> option), or for a F directory. =item B<--postpone=I> Do not send emails, append them in I. This file can be used as a postponed mailbox with B. =item B<--potfile=I> Specify the POT file to send to a call for translations (B<--call>). By default, B uses the POT file of the PO files directory, if there is only one. This file is also used to find the package's name and version, if none were specified with an option, and if no F files were found. =item B<--sendmessage> Only send a message, with no attachments. This can be useful when the translators have a commit access to the package repository. =item B<--smtp=I> Specify SMTP server for mailing (default is C). This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--submit> Instead of sending mails to translators, file a bug report against this package to request for translations. This is useful e.g. when preparing non-maintainer uploads to make sure that translations do not get lost. =item B<--summary> Send a status report to the maintainer with the list of emails sent to translators. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--nosummary> Do not send any status report to the maintainer. =item B<--utf8> Send the email in UTF-8. This allow non-ascii characters in the mail body and mail header. The editor must support UTF-8. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--noutf8> Send the email(s) in us-ascii. Non-ascii characters are replaced by a question mark. =item B<--version> Print version information and exit. =item B<-v>, B<--verbose> Display additional information while running. This option can be specified in the configuration file to define default behavior of B. See section B below. =item B<--noverbose> Do not use the verbose mode. =item B<--templatecall=I