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
>
-- 

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

___
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 Jean-Baptiste Holcroft

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


Re: [Weblate] Translation upload ignores all translations

2017-07-05 Thread Marc Perrin
Yes, I confirm the issue is there in 2.15


-Message d'origine-
De : Weblate [mailto:weblate-bounces+marc.perrin=dont-nod@lists.cihar.com] 
De la part de Jean-Baptiste Holcroft
Envoyé : Wednesday, July 5, 2017 1:11 PM
À : weblate@lists.cihar.com
Objet : Re: [Weblate] Translation upload ignores all translations

Le 05/07/2017 à 12:16, Marc Perrin a écrit :
>
> Yes you can create a new issue (probably referencing issue #1218
> <https://github.com/WeblateOrg/weblate/issues/1218>)
>
> I’m not sure it’s a regression, the csv upload might never have worked.
>
> For the PR, sure, if you can debug/pinpoint the problem/devise a fix, 
> go ahead! (you should probably wait for Michal’s comment on the issue 
> before sending the PR though).
>
I confirm the same issue on Weblate 2.12
(https://translate.yunohost.org/projects/yunohost/moulinette/fr/#overview)

I changed a few strings (mostly apostrophes and a word) and it says : 38 
chaînes importées depuis les fichiers (ignorées : 0, non trouvées 0, mises à 
jour 0).

I assume it should at least have a total of 38. Are you using the latest 
version of weblate? It would be great to test with 2.15 before opening the 
issue.

--
Jean-Baptiste Holcroft


___
Weblate mailing list
Weblate@lists.cihar.com
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate
___
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 Jean-Baptiste Holcroft

Le 05/07/2017 à 12:16, Marc Perrin a écrit :


Yes you can create a new issue (probably referencing issue #1218 
)


I’m not sure it’s a regression, the csv upload might never have worked.

For the PR, sure, if you can debug/pinpoint the problem/devise a fix, 
go ahead! (you should probably wait for Michal’s comment on the issue 
before sending the PR though).


I confirm the same issue on Weblate 2.12 
(https://translate.yunohost.org/projects/yunohost/moulinette/fr/#overview)


I changed a few strings (mostly apostrophes and a word) and it says : 38 
chaînes importées depuis les fichiers (ignorées : 0, non trouvées 0, 
mises à jour 0).


I assume it should at least have a total of 38. Are you using the latest 
version of weblate? It would be great to test with 2.15 before opening 
the issue.


--
Jean-Baptiste Holcroft


___
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 Marc Perrin
Yes you can create a new issue (probably referencing issue 
#1218<https://github.com/WeblateOrg/weblate/issues/1218>)
I’m not sure it’s a regression, the csv upload might never have worked.
For the PR, sure, if you can debug/pinpoint the problem/devise a fix, go ahead! 
(you should probably wait for Michal’s comment on the issue before sending the 
PR though).

De : Marc Perrin
Envoyé : Wednesday, July 5, 2017 12:13 PM
À : 'David Delbecq' <david_delb...@trimble.com>; weblate@lists.cihar.com
Objet : RE: [Weblate] Translation upload ignores all translations

Yes you can create a new issue (probably referencing issue 
#1218<https://github.com/WeblateOrg/weblate/issues/1218>)
I’m not sure it’s a regression, the csv upload might never have worked.
For the PR, sure, if you can debug/pinpoint the problem/devise a fix, go ahead! 
(you should probably wait for Michal’s comment on the issue before sending the 
PR though).

De : David Delbecq [mailto:david_delb...@trimble.com]
Envoyé : Wednesday, July 5, 2017 11:03 AM
À : Marc Perrin <marc.per...@dont-nod.com<mailto:marc.per...@dont-nod.com>>; 
weblate@lists.cihar.com<mailto:weblate@lists.cihar.com>
Objet : Re: [Weblate] Translation upload ignores all translations

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<mailto: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<mailto:david_delb...@trimble.com>]
Envoyé : Tuesday, July 4, 2017 5:14 PM
À : Marc Perrin <marc.per...@dont-nod.com<mailto:marc.per...@dont-nod.com>>; 
weblate@lists.cihar.com<mailto: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<mailto: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<mailto:weblate-bounces%2Bmarc.perrin>=dont-nod@lists.cihar.com<mailto:dont-nod@lists.cihar.com>]
 De la part de David Delbecq
Envoyé : Tuesday, July 4, 2017 3:01 PM
À : weblate@lists.cihar.com<mailto: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.

(…)
___
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  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.
>
>
>
> --
>
> 
> 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
>
> 
>
>
>
-- 

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

___
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 Marc Perrin
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://trl.trimble.com/docushare/dsweb/Get/Document-807363/trimbletagline.png]
David Delbecq
Software engineer, Transport & Logistics
Geldenaaksebaan 329, 1st floor | 3001 Leuven
+32 16 391 121 Direct
david.delb...@trimbletl.com
[http://www.trimbletl.com/sites/all/themes/trimbletl/img/logo-trimbletl.gif]

___
Weblate mailing list
Weblate@lists.cihar.com
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate