PODEBCONF-REPORT-PO(1) | po-debconf | PODEBCONF-REPORT-PO(1) |
podebconf-report-po - send outdated debconf PO files to the last translators
podebconf-report-po [options]
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. podebconf-report-po can be called either in the top-level directory, or in debian or debian/po subdirectories (or, for non debconf translations, from the po directory itself or its parent directory).
podebconf-report-po 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 (--submit) or for calls for translations (--call). The template can also be provided by the user. See the TEMPLATES section for more information on the templates.
Many options can be set in a configuration file. See section CONFIGURATION FILE.
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 podebconf-report-po. See section CONFIGURATION FILE below.
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 --withouttranslators option.
This should be a date, which will be prefixed by:
The deadline for receiving the updated translation is
DEADLINE.
If the specified string starts with a '+', it will be
interpreted by:
LC_ALL=C date -R -d DEADLINE
If no deadline is specified (and the --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 podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
It is enabled by default.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option also changes the default po directory used by podebconf-report-po (i.e. the --podir option is not needed when the call is done from the po directory itself or from its parent directory).
By default, a debian/po directory is preferred over a po directory. With this option, only the po directory will be considered.
This option is usually not necessary. podebconf-report-po tries to determine the type of translation based on the current directory and the existence of a debian/po or po directory.
This file is also used to find the package's name and version, if none were specified with an option, and if no debian/changelog files were found.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option is ignored when the --call option is not specified. It is enabled by default.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
This option can be specified in the configuration file to define default behavior of podebconf-report-po. See section CONFIGURATION FILE below.
By default, podebconf-report-po reads $HOME/.podebconf-report-po.conf. The configuration file can be set with the --conf option. You can also ignore any configuration file by specifying the --noconf option. Command line options can be used to override configuration file settings.
The configuration files accept most of the command line options, without the leading --: deadline, nodeadline, smtp, from, verbose, force, templatetranslators, templatesubmit, templatecall, template, default, gzip, languageteam, nolanguageteam, addlanguageteam, summary, utf8, withouttranslators, withtranslators.
Lines starting by a number sign (possibly preceded by spaces) are comments and are ignored.
Here is an example:
# This is a comment
smtp smtp.mydomain
from = Me Myself <me@mydomain>
utf8
The templates specified with the --template, --templatetranslators, --templatesubmit, or --templatecall options can contain the following tags:
In the --submit mode, it is replaced by the list of PO files with outdated translations.
And in the --call mode, it is replaced by the list of PO files found in the PO directory.
The /usr/share/po-debconf/templates directory contains the default templates.
The recommended usage is to call podebconf-report-po from the po directory to be updated:
podebconf-report-po --call
This will send a call for new translations to the <debian-i18n@lists.debian.org> mailing list and will ask translation updates to the previous translators. The language teams will also be notified and should be able to react if the assigned translator is known to be MIA.
A prompt will ask a deadline to the user (the default is to request translations and updates within 10 days).
Then an editor will display the message to be sent to the mailing list. When this editor exits, podebconf-report-po will ask confirmation to send the mail to the mailing list.
If confirmed, another editor will display the message to be sent to the translators and language teams. podebconf-report-po will ask for another confirmation to send the mails to translators and language teams.
You should make a new release with the received translations after the deadline.
Fabio Tranchitella <kobold@kobold.it>
2018-11-20 |