[Koha-translate] Can not upload files to pootle (X-Pootle-Path Header missing )

Bernardo Gonzalez Kriegel bgkriegel at gmail.com
Wed May 23 17:08:45 CEST 2018


Hi,
it's an annoying problem.

The solution so far is to add a couple of lines in the header of each PO
file,
for example the last two lines in this header

msgid ""
msgstr ""
"Project-Id-Version: Koha 18.05\n"
"POT-Creation-Date: 2018-05-10 00:54-0300\n"
"PO-Revision-Date: 2018-04-27 21:15+0000\n"
"Last-Translator: Zeno Tajoli <z.tajoli at cineca.it>\n"
"Language-Team: CILEA <z.tajoli at cineca.it>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Pootle 2.8\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-POOTLE-MTIME: 1524863755.089782\n"
"X-Pootle-Path: /it/18.05/it-IT-marc-MARC21.po\n"
"X-Pootle-Revision: 1\n"

X-Pootle-Path must have language code, project code and file name.

I fixed all headers for 18.05 files, I'm fixing all the others.
If you have already downloaded a file, please add the lines and try to
upload it.

Regards
Bernardo

-- 
Bernardo Gonzalez Kriegel
bgkriegel at gmail.com


On Tue, May 22, 2018 at 4:20 AM Zeno Tajoli <ztajoli at gmail.com> wrote:

> Hi to all,
>
> I confirm the problem.
> Is there an easy fix ?
> Because it is quite difficult to transalte only on-line.
>
> Bye
> Zeno Tajoli
>
> On Mon, May 21, 2018 at 5:35 PM, Marc Véron <veron at veron.ch> wrote:
>
>> Hi everybody
>>
>> With the new version of Pootle it is no longer possible to upload files
>> after off line translation.
>>
>> I get the error: X-Pootle-Path Header missing
>>
>> As Cait pointed out in IRC, it is the following issue:
>> https://github.com/translate/pootle/issues/6570
>>
>> Regards
>>
>> Marc Véron
>>
>> _______________________________________________
>> Koha-translate mailing list
>> Koha-translate at lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-translate
>> website: www.koha-community.org
>> git: git.koha-community.org
>> bugs: bugs.koha-community.org
>
>
> _______________________________________________
> Koha-translate mailing list
> Koha-translate at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-translate
> website: www.koha-community.org
> git: git.koha-community.org
> bugs: bugs.koha-community.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-translate/attachments/20180523/3b154b6f/attachment.html>


More information about the Koha-translate mailing list