To submit one or several PO files, simply give them as
arguments to wyslij-po
in the command line, like this:
$ wyslij-po pl.po uk.po bg.po
For each file, specified in the command line, the utility will do the following steps:
PO headers contain important information about the translation. These headers are stored in the first entry of each PO file.
A canonical PO name consists of the project name and
version, separated by dash, which are followed by a dot, the language
code as per ISO 639, and the suffix ‘.po’. To determine the
canonical name, wyslij-po
uses the contents of
Project-Id-Version
and Language
PO
headers. The value of Project-Id-Version
supplies the name and
version of the project this file is for, and the value of
Language
gives the ISO-639 abbreviation of the
language name. For example, if the two headers in question were:
Project-Id-Version: cflow 1.2 Language: pl
then the canonical name for that file is cflow-1.2.pl.po.
If the PO file lacks the Language
header,
wyslij-po
analyzes the Language-Team
header. The
full language name extracted from this header is looked up in a
language table file to find the corresponding ISO-639
code (see Langtab).
This step ensures that the file corresponds to the latest version of the package in question and that it does not contain obvious formatting errors. For the detailed description of the checks performed, see Verification, below.
The message is a MIME 1.0 message, whose body contains the compressed PO file, and the headers contain the necessary registration information (see Message).
See Sending, below.
The following sections describe each step in detail.
• Verification | ||
• Message | ||
• Sending |