Re: [Weblate] Translation upload ignores all translations

2017-07-05 Thread David Delbecq
Done, also added all information i could gather on process today by adding
loggers everywhere in code :)

My skills in python being near to 0, i can't pretty much do better.

On Wed, Jul 5, 2017 at 3:59 PM Jean-Baptiste Holcroft <
jean-bapti...@holcroft.fr> wrote:

> Le 05/07/2017 à 13:38, Marc Perrin a écrit :
> > Yes, I confirm the issue is there in 2.15
>
> Ok, I assume your project is not open-source, I created a ticket and
> added an example file:
> https://github.com/WeblateOrg/weblate/issues/1547
>
> Please follow this ticket by commenting it or following the whole
> Weblate project, Weblate's developper may have questions.
>
> --
> Jean-Baptiste Holcroft
>
>
> ___
> Weblate mailing list
> Weblate@lists.cihar.com
> https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate
>
-- 
<http://www.trimble.com/>
David Delbecq
Software engineer, Transport & Logistics
Geldenaaksebaan 329, 1st floor | 3001 Leuven
+32 16 391 121 <+32%2016%20391%20121> Direct
david.delb...@trimbletl.com
<http://www.trimbletl.com/>
___
Weblate mailing list
Weblate@lists.cihar.com
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate


Re: [Weblate] Translation upload ignores all translations

2017-07-05 Thread David Delbecq
Should I open a bug report? I'm not a python developper but if needed it
can try to provide a PR to fix the CSV import, as we need it badly :)

On Tue, Jul 4, 2017 at 5:22 PM Marc Perrin <marc.per...@dont-nod.com> wrote:

> I was just being cautious, as in “the csv down>upload *could* work, if
> you use settings I don’t know about, or in some favorable cases…” ;-)
>
> I have full confidence in the PO down>upload, I use it a lot, but other
> than this…
>
> I haven’t really played with xliff either.
>
> I’m sure Michal can tell you more about the current state of the
> down>upload formats.
>
>
>
>
>
> *De :* David Delbecq [mailto:david_delb...@trimble.com]
> *Envoyé :* Tuesday, July 4, 2017 5:14 PM
> *À :* Marc Perrin <marc.per...@dont-nod.com>; weblate@lists.cihar.com
> *Objet :* Re: [Weblate] Translation upload ignores all translations
>
>
>
> Yes, after some fidling with download / upload, it seems  .PO is actually
> the only format that works. XLIFF and XLIFF v1.2 fails too. Can you
> elaborate what you mean by "it might require extra config care w/r/t PO"
> ? I didn't understand you.
>
> I could reproduce problem also using online demo.
>
>
>
>
>
> On Tue, Jul 4, 2017 at 4:03 PM Marc Perrin <marc.per...@dont-nod.com>
> wrote:
>
> Hi David,
>
> Have you tried PO format for down>upload?
>
> I think it’s a lot more tried and tested than csv.
>
> I’ve never worked with the csv down>upload before*, but it might require
> extra config care w/r/t PO, or be in need of a (small) fix.
>
> Marc
>
>
>
> * NB: same situation as you, with the translators loving to work in Excel:
> basically I use some kind of POóXlsx conversion
>
>
>
>
>
> *De :* Weblate [mailto:weblate-bounces+marc.perrin=
> dont-nod@lists.cihar.com] *De la part de* David Delbecq
> *Envoyé :* Tuesday, July 4, 2017 3:01 PM
> *À :* weblate@lists.cihar.com
> *Objet :* [Weblate] Translation upload ignores all translations
>
>
>
> Hello,
>
>
>
> We are starting to use weblate and we have an issue with the translation
> download / upload.
>
>
>
> Some of our translation subcontractor require that we send CSV to
> translate and send back translation afterward, they just don't even want to
> register on weblate.
>
>
>
> We did the following operation:
>
> go to a component, in french (untranslated)
>
> file -> download translation
>
> update the target column in CSV file with some translation
>
> file -> upload translation, choose the CSV
>
>
>
> we get "Processed 603 strings from the uploaded files (skipped: 0, not
> found: 0, updated: 0)."
>
>
>
> Here is an extract of what the CSV looks like, you can see that first line
> was translated but it's not uploaded:
>
>
>
>
> "location","source","target","id","fuzzy","context","translator_comments","developer_comments"
>
> "","Accept","Accepter","","False","accept","",""
>
> "","Accepted","","","False","accepted","",""
>
> "","Accepted Due Date= Date Time Creation
> +","","","False","acceptedDueDateOffset","",""
>
> "","Accepting","","","False","accepting","",""
>
> "","Accepted shipments","","","False","acceptedShipments","",""
>
> "","Access control","","","False","accessControl","",""
>
> "","Address lookup with map","","","False","addressLookupWithMap","",""
>
>
>
>
>
> Are we missing some steps? Any help appreciated.
>
>
>
> --
>
> [image: Image supprimée par l'expéditeur.] <http://www.trimble.com/>
>
>
> David Delbecq
> Software engineer, Transport & Logistics
> Geldenaaksebaan 329, 1st floor | 3001 Leuven
> +32 16 391 121 <+32%2016%20391%20121> Direct
> david.delb...@trimbletl.com
>
> [image: Image supprimée par l'expéditeur.] <http://www.trimbletl.com/>
>
>
>
> --
>
> [image: Image supprimée par l'expéditeur.] <http://www.trimble.com/>
>
>
> David Delbecq
> Software engineer, Transport & Logistics
> Geldenaaksebaan 329, 1st floor | 3001 Leuven
> +32 16 391 121 <+32%2016%20391%20121> Direct
> david.delb...@trimbletl.com
>
> [image: Image supprimée par l'expéditeur.] <http://www.trimbletl.com/>
>
>
>
-- 
<http://www.trimble.com/>
David Delbecq
Software engineer, Transport & Logistics
Geldenaaksebaan 329, 1st floor | 3001 Leuven
+32 16 391 121 <+32%2016%20391%20121> Direct
david.delb...@trimbletl.com
<http://www.trimbletl.com/>
___
Weblate mailing list
Weblate@lists.cihar.com
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate


Re: [Weblate] Translation upload ignores all translations

2017-07-04 Thread David Delbecq
Yes, after some fidling with download / upload, it seems  .PO is actually
the only format that works. XLIFF and XLIFF v1.2 fails too. Can you
elaborate what you mean by "it might require extra config care w/r/t PO" ?
I didn't understand you.
I could reproduce problem also using online demo.


On Tue, Jul 4, 2017 at 4:03 PM Marc Perrin <marc.per...@dont-nod.com> wrote:

> Hi David,
>
> Have you tried PO format for down>upload?
>
> I think it’s a lot more tried and tested than csv.
>
> I’ve never worked with the csv down>upload before*, but it might require
> extra config care w/r/t PO, or be in need of a (small) fix.
>
> Marc
>
>
>
> * NB: same situation as you, with the translators loving to work in Excel:
> basically I use some kind of POóXlsx conversion
>
>
>
>
>
> *De :* Weblate [mailto:weblate-bounces+marc.perrin=
> dont-nod@lists.cihar.com] *De la part de* David Delbecq
> *Envoyé :* Tuesday, July 4, 2017 3:01 PM
> *À :* weblate@lists.cihar.com
> *Objet :* [Weblate] Translation upload ignores all translations
>
>
>
> Hello,
>
>
>
> We are starting to use weblate and we have an issue with the translation
> download / upload.
>
>
>
> Some of our translation subcontractor require that we send CSV to
> translate and send back translation afterward, they just don't even want to
> register on weblate.
>
>
>
> We did the following operation:
>
> go to a component, in french (untranslated)
>
> file -> download translation
>
> update the target column in CSV file with some translation
>
> file -> upload translation, choose the CSV
>
>
>
> we get "Processed 603 strings from the uploaded files (skipped: 0, not
> found: 0, updated: 0)."
>
>
>
> Here is an extract of what the CSV looks like, you can see that first line
> was translated but it's not uploaded:
>
>
>
>
> "location","source","target","id","fuzzy","context","translator_comments","developer_comments"
>
> "","Accept","Accepter","","False","accept","",""
>
> "","Accepted","","","False","accepted","",""
>
> "","Accepted Due Date= Date Time Creation
> +","","","False","acceptedDueDateOffset","",""
>
> "","Accepting","","","False","accepting","",""
>
> "","Accepted shipments","","","False","acceptedShipments","",""
>
> "","Access control","","","False","accessControl","",""
>
> "","Address lookup with map","","","False","addressLookupWithMap","",""
>
>
>
>
>
> Are we missing some steps? Any help appreciated.
>
>
>
> --
>
> <http://www.trimble.com/>
> David Delbecq
> Software engineer, Transport & Logistics
> Geldenaaksebaan 329, 1st floor | 3001 Leuven
> +32 16 391 121 <+32%2016%20391%20121> Direct
> david.delb...@trimbletl.com
>
> <http://www.trimbletl.com/>
>
>
>
-- 
<http://www.trimble.com/>
David Delbecq
Software engineer, Transport & Logistics
Geldenaaksebaan 329, 1st floor | 3001 Leuven
+32 16 391 121 <+32%2016%20391%20121> Direct
david.delb...@trimbletl.com
<http://www.trimbletl.com/>
___
Weblate mailing list
Weblate@lists.cihar.com
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate


[Weblate] Translation upload ignores all translations

2017-07-04 Thread David Delbecq
Hello,

We are starting to use weblate and we have an issue with the translation
download / upload.

Some of our translation subcontractor require that we send CSV to translate
and send back translation afterward, they just don't even want to register
on weblate.

We did the following operation:
go to a component, in french (untranslated)
file -> download translation
update the target column in CSV file with some translation
file -> upload translation, choose the CSV

we get "Processed 603 strings from the uploaded files (skipped: 0, not
found: 0, updated: 0)."

Here is an extract of what the CSV looks like, you can see that first line
was translated but it's not uploaded:

"location","source","target","id","fuzzy","context","translator_comments","developer_comments"
"","Accept","Accepter","","False","accept","",""
"","Accepted","","","False","accepted","",""
"","Accepted Due Date= Date Time Creation
+","","","False","acceptedDueDateOffset","",""
"","Accepting","","","False","accepting","",""
"","Accepted shipments","","","False","acceptedShipments","",""
"","Access control","","","False","accessControl","",""
"","Address lookup with map","","","False","addressLookupWithMap","",""


Are we missing some steps? Any help appreciated.

-- 
<http://www.trimble.com/>
David Delbecq
Software engineer, Transport & Logistics
Geldenaaksebaan 329, 1st floor | 3001 Leuven
+32 16 391 121 <+32%2016%20391%20121> Direct
david.delb...@trimbletl.com
<http://www.trimbletl.com/>
___
Weblate mailing list
Weblate@lists.cihar.com
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate