I've tried on a docker machine and found the following:
1. Config should be stored under ~/.weblate
2. The "translation=" key should have a real value such as
"ibus-typing-booster/app" (if I'm not mistaken)
3. There's a bug in wlc where the urls are missing a slash, this is why
you're seeing this error:
DEBUG:urllib3.connectionpool:https://translate.stg.fedoraproject.org:443
"GET /apiprojects/ HTTP/1.1" 404 None
Error: Object not found on the server (maybe operation is not supported on
the server)
I'll try to submit it to Michal and send you the issue number so you can
follow.
Yaron Shahrabani
<DevOps - Hebrew translator>
On Mon, Nov 4, 2019 at 1:40 PM Yaron Shahrabani <sh.yaron(a)gmail.com> wrote:
It doesn't seem to work on my machine either, also when
specifying the
arguments via the cli.
Probably it's blocked somehow.
Yaron Shahrabani
<DevOps - Hebrew translator>
On Mon, Nov 4, 2019 at 11:56 AM Mike FABIAN <mfabian(a)redhat.com> wrote:
> Benson Muite <benson_muite(a)emailplus.org> さんはかきました:
>
> > Thanks for the suggestions. WLC not so great at 20Kb/s. Browser
> > (Firefox) is slow but does better. Lynx browser seems to fail on
> > login. Will check out API documentation.
>
> I tried to use wlc but could not get it to work.
>
> My ~/.config/weblate contains:
>
> [weblate]
> url =
https://translate.stg.fedoraproject.org/api
> key = <my API key here>
> translation = weblate/master
>
> But it doesn’t seem to work:
>
> $ wlc show
> Error: Object not found on the server (maybe operation is not supported
> on the server)
> $ wlc list-components
> Error: Object not found on the server (maybe operation is not supported
> on the server)
> $
>
> Does anybody know what I am doing wrong?
>
> > On 11/3/19 8:49 PM, Yaron Shahrabani wrote:
> >> Weblate has a lightweight cli client called wlc and a pretty
> >> extensive API you can possibly use.
> >>
> >> On Sun, Nov 3, 2019, 16:15 Shehroz Kaleem <shehroz(a)fedoraproject.org
> >> <mailto:shehroz@fedoraproject.org>> wrote:
> >>
> >> 1+ for this suggestion.
> >>
> >> I think this might be possible with this (I have not used this)
> >>
> >>
https://docs.weblate.org/en/latest/wlc.html#wlc
> >>
> >> On Sun, 3 Nov 2019 at 16:03, Benson Muite
> >> <benson_muite(a)emailplus.org
<mailto:benson_muite@emailplus.org>>
> >> wrote:
> >>
> >> It would be helpful if there was an interface in Weblate for a
> >> slow
> >> internet connection.
> >>
> >> a) It may be helpful to run speed tests and peform some of the
> >> optimizations at:
> >>
> >>
>
https://fedoramagazine.org/design-faster-web-pages-part-1-image-compression/
> >>
>
https://fedoramagazine.org/design-faster-web-pages-part-2-image-replacement/
> >>
>
https://fedoramagazine.org/design-faster-web-pages-part-3-font-css-tweaks/
> >>
> >> b) It may also be helpful to have a mostly text interface for
> low
> >> bandwith connections
> >>
> >> Can make these as requests in Weblate directly, but viewpoints
> >> from
> >> other testers are also helpful, in particular for items that
> are
> >> specific to Fedora.
> >>
> >> Benson
> >> _______________________________________________
> >> trans mailing list -- trans(a)lists.fedoraproject.org
> >> <mailto:trans@lists.fedoraproject.org>
> >> To unsubscribe send an email to
> >> trans-leave(a)lists.fedoraproject.org
> >> <mailto:trans-leave@lists.fedoraproject.org>
> >> Fedora Code of Conduct:
> >>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> >> List Guidelines:
> >>
https://fedoraproject.org/wiki/Mailing_list_guidelines
> >> List Archives:
> >>
>
https://lists.fedoraproject.org/archives/list/trans@lists.fedoraproject.org
> >>
> >> _______________________________________________
> >> trans mailing list -- trans(a)lists.fedoraproject.org
> >> <mailto:trans@lists.fedoraproject.org>
> >> To unsubscribe send an email to
> >> trans-leave(a)lists.fedoraproject.org
> >> <mailto:trans-leave@lists.fedoraproject.org>
> >> Fedora Code of Conduct:
> >>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> >> List Guidelines:
> >>
https://fedoraproject.org/wiki/Mailing_list_guidelines
> >> List Archives:
> >>
>
https://lists.fedoraproject.org/archives/list/trans@lists.fedoraproject.org
> >>
> >>
> >> _______________________________________________
> >> trans mailing list -- trans(a)lists.fedoraproject.org
> >> To unsubscribe send an email to trans-leave(a)lists.fedoraproject.org
> >> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> >> List Guidelines:
>
https://fedoraproject.org/wiki/Mailing_list_guidelines
> >> List Archives:
>
https://lists.fedoraproject.org/archives/list/trans@lists.fedoraproject.org
> > _______________________________________________
> > trans mailing list -- trans(a)lists.fedoraproject.org
> > To unsubscribe send an email to trans-leave(a)lists.fedoraproject.org
> > Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
>
https://lists.fedoraproject.org/archives/list/trans@lists.fedoraproject.org
> >
>
> --
> Mike FABIAN <mfabian(a)redhat.com>
> 睡眠不足はいい仕事の敵だ。
> _______________________________________________
> trans mailing list -- trans(a)lists.fedoraproject.org
> To unsubscribe send an email to trans-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedoraproject.org/archives/list/trans@lists.fedoraproject.org
>