Project

General

Profile

Actions

Task #3583

closed

No longer possible to overwrite translated strings using wlc

Added by Sophie Gautier over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Weblate
Target version:
Team - Q2/2022
Start date:
Due date:
% Done:

0%

Tags:

Description

Reported by Mikhel, I open a ticket to better track the issue:
-------------------------------
Overwriting existing translations still fails for me, both with wlc and
curl. Example commands:

wlc --key "<my API key from Weblate>" --url "
https://translations.documentfoundation.org/api/" upload --input
"master/libo_ui/svl/messages.po" --overwrite --method translate
"libo_ui-master/svlmessages/et"

curl -s -X POST -F method=translate -F overwrite=true -F
conflict=replace-translated -F file=@"master/libo_ui/svl/messages.po" -
H "authorization: Token <my API key>"
https://translations.documentfoundation.org/api/translations/libo_ui-master/svlmessages/et/file/

{"not_found":0,"skipped":19,"accepted":0,"total":19,"result":false,"count":19}

Previously untranslated or fuzzy strings get updated as expected.
--------------------------------
Archive of the mail
https://listarchives.libreoffice.org/global/l10n/2022/msg00146.html

Christian Lohmaier: could you have a look at what could go wrong?

Actions

Also available in: Atom PDF